mirror of
https://github.com/nasa/trick.git
synced 2025-04-07 19:34:23 +00:00
Prepend trick app launch commands with trick- #336
This commit is contained in:
parent
c1af5ba0e2
commit
0a664abdeb
@ -733,7 +733,7 @@ public abstract class TrickApplication extends SingleFrameApplication implements
|
||||
}
|
||||
try {
|
||||
ProcessBuilder process = new ProcessBuilder(UIUtils.getTrickBin() +
|
||||
File.separator + executable, arguments);
|
||||
File.separator + "trick-" + executable, arguments);
|
||||
process.redirectOutput(ProcessBuilder.Redirect.INHERIT);
|
||||
process.redirectError(ProcessBuilder.Redirect.INHERIT);
|
||||
process.start();
|
||||
|
@ -225,12 +225,12 @@ public class SimControlApplication extends TrickApplication implements PropertyC
|
||||
|
||||
@Action
|
||||
public void startTV() {
|
||||
launchTrickApplication("trick-tv", "--host " + host + " --port " + port);
|
||||
launchTrickApplication("tv", "--host " + host + " --port " + port);
|
||||
}
|
||||
|
||||
@Action
|
||||
public void startMTV() {
|
||||
launchTrickApplication("trick-mtv", host + " " + port);
|
||||
launchTrickApplication("mtv", host + " " + port);
|
||||
}
|
||||
|
||||
@Action
|
||||
|
@ -57,7 +57,7 @@ public class SimSnifferApplication extends TrickApplication {
|
||||
if (row != -1) {
|
||||
SimulationInformation simulationInformation =
|
||||
simulations.get(simTable.convertRowIndexToModel(row));
|
||||
launchTrickApplication("trick-simcontrol",
|
||||
launchTrickApplication("simcontrol",
|
||||
simulationInformation.machine + " " +
|
||||
simulationInformation.noHandshakePort);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user