trick-sniffer calls trick-simcontrol by old name

Changed the system call to use the new name.

refs #194
This commit is contained in:
Alex Lin 2016-02-25 09:02:23 -06:00
parent 543bbc0585
commit 51715a0650
2 changed files with 2 additions and 2 deletions

View File

@ -733,7 +733,7 @@ public abstract class TrickApplication extends SingleFrameApplication implements
} }
try { try {
ProcessBuilder process = new ProcessBuilder(UIUtils.getTrickBin() + ProcessBuilder process = new ProcessBuilder(UIUtils.getTrickBin() +
File.separator + "trick-" + executable, arguments); File.separator + executable, arguments);
process.redirectOutput(ProcessBuilder.Redirect.INHERIT); process.redirectOutput(ProcessBuilder.Redirect.INHERIT);
process.redirectError(ProcessBuilder.Redirect.INHERIT); process.redirectError(ProcessBuilder.Redirect.INHERIT);
process.start(); process.start();

View File

@ -57,7 +57,7 @@ public class SimSnifferApplication extends TrickApplication {
if (row != -1) { if (row != -1) {
SimulationInformation simulationInformation = SimulationInformation simulationInformation =
simulations.get(simTable.convertRowIndexToModel(row)); simulations.get(simTable.convertRowIndexToModel(row));
launchTrickApplication("simcontrol", launchTrickApplication("trick-simcontrol",
simulationInformation.machine + " " + simulationInformation.machine + " " +
simulationInformation.noHandshakePort); simulationInformation.noHandshakePort);
} }