Prepend trick app launch commands with trick- #336

This commit is contained in:
Derek Bankieris 2016-10-26 12:12:49 -05:00
parent c1af5ba0e2
commit 0a664abdeb
3 changed files with 4 additions and 4 deletions

View File

@ -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();

View File

@ -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

View File

@ -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);
}