On Mon, 31 Aug 1998, Stefano Fratini wrote:
> Does anybody know anything about how to use the java.lang.Runtime.exec
> to call a Linux process/application from a Java application?
It's funny, I happened to do exactly that today. What you want is
something like:
Process myProcess;
try
{
myProcess = Runtime.getRuntime().exec("myprog myparams");
}
catch (java.io.IOException e)
{
}
Robert.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Robert P Biuk-Aghai, University of Macau, Faculty of Science and Technology
http://hyperg.sftw.umac.mo/robert/ tel: +853-3974365 fax: +853-838314
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Microsoft isn't the answer. Microsoft is the question and the answer is no.