January 7, 1998

DevX - Software Development Resource

Java and Unix

Question: Is it possible to use Java to execute a command on Unix and get the output from that command? Answer: Yes. The java.lang.Runtime class has various exec() methods thatcan

DevX - Software Development Resource

Piping External Process Output

Question: I am attempting to run a series of externalapplications within JAVA. I need the resultsof the prev. application piped as input to thefollowup application. I understand the spawningof the