Fix Sniffer to use the new binary names, which are prepended with trick-

This commit is contained in:
Derek Bankieris 2016-02-22 09:42:22 -06:00
parent da08efe546
commit 912778423b
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 + executable, arguments); File.separator + "trick-" + 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("sim_control", launchTrickApplication("simcontrol",
simulationInformation.machine + " " + simulationInformation.machine + " " +
simulationInformation.noHandshakePort); simulationInformation.noHandshakePort);
} }