Hi,
I want to execute gnuplot from java, I can get the console to open using:
Process theProcess = Runtime.getRuntime().exec("/Java/gnuplot/bin/wgnuplot.exe");
But I want it to open gnuplot and open a file, for example 'foo.bat'. I've tried:
Process theProcess = Runtime.getRuntime().exec("/Java/gnuplot/bin/wgnuplot.exe, foo.bat");
However this throws a file not found exception, any ideas?
Thanks.