System Commands From JAVA
Posted on 1998-05-19
I would like to know how to perform system commands and use the results with JAVA.
For example in Perl, I can use
system("showrev -p >/tmp/patches.dat");
Then open (via perl) /tmp/patches.dat and use the results in my code.
Can the same thing be done with Java?