I read Runtime.getRuntime().exec(\"perl script.pl\") is an option, but is this the best way to do it?
Runtime.getRuntime().exec(\"perl script.pl\")
I\'ll need an answer from that script, so I\'ll ha
You can use Runtime.getRuntime().exec() or use the Process API. The Process API allows you to get the output of the script, so you can have both communicate.
exitValue() and getInputStream() seems to be what you need.