Stripchart does not start with input file

Found that the stripchart calls itself when reading variables
from an input file.  The command to call itself was using the old
executable name trick_stripchart instead of the new trick-stripchart.

refs #166
This commit is contained in:
Alex Lin 2016-01-20 16:50:23 -06:00
parent 7e542440d1
commit a8c8c49f0d

View File

@ -926,7 +926,7 @@ public class StripchartApplication extends TrickApplication {
/* Open multiple stripchart windows (if applicable) */
my_args = host+" "+port+" "+stripcharts.get(ii);
String[] cmd = {"/bin/sh", "-c",
System.getenv("TRICK_HOME")+"/bin/trick_stripchart "+my_args};
System.getenv("TRICK_HOME")+"/bin/trick-stripchart "+my_args};
new_process.add(ii, new BackgroundCommand(cmd));
new_process.get(ii).start();
}