Your code snippet is precisely how I am doing it.
Except for the call to "getOutputStream()" because, according to the javadoc for class Process, method "getInputStream()" obtains data piped from the standard output stream of the process.Did you try it out yourself?
Did it work for you?Cheers, Avi.
In reply to Re^2: Running perl from java
by abramia
in thread Running perl from java
by abramia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |