From 51715a0650e6571e4e1a8c8bea3b6f8217cf770d Mon Sep 17 00:00:00 2001 From: Alex Lin Date: Thu, 25 Feb 2016 09:02:23 -0600 Subject: [PATCH] trick-sniffer calls trick-simcontrol by old name Changed the system call to use the new name. refs #194 --- trick_source/java/src/trick/common/TrickApplication.java | 2 +- trick_source/java/src/trick/sniffer/SimSnifferApplication.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/trick_source/java/src/trick/common/TrickApplication.java b/trick_source/java/src/trick/common/TrickApplication.java index c27ac1fa..e3a80503 100644 --- a/trick_source/java/src/trick/common/TrickApplication.java +++ b/trick_source/java/src/trick/common/TrickApplication.java @@ -733,7 +733,7 @@ public abstract class TrickApplication extends SingleFrameApplication implements } try { ProcessBuilder process = new ProcessBuilder(UIUtils.getTrickBin() + - File.separator + "trick-" + executable, arguments); + File.separator + executable, arguments); process.redirectOutput(ProcessBuilder.Redirect.INHERIT); process.redirectError(ProcessBuilder.Redirect.INHERIT); process.start(); diff --git a/trick_source/java/src/trick/sniffer/SimSnifferApplication.java b/trick_source/java/src/trick/sniffer/SimSnifferApplication.java index abde9312..f6d33bd5 100644 --- a/trick_source/java/src/trick/sniffer/SimSnifferApplication.java +++ b/trick_source/java/src/trick/sniffer/SimSnifferApplication.java @@ -57,7 +57,7 @@ public class SimSnifferApplication extends TrickApplication { if (row != -1) { SimulationInformation simulationInformation = simulations.get(simTable.convertRowIndexToModel(row)); - launchTrickApplication("simcontrol", + launchTrickApplication("trick-simcontrol", simulationInformation.machine + " " + simulationInformation.noHandshakePort); }