Posted By:
Christopher_Schultz
Posted On:
Friday, August 3, 2001 12:24 PM
If you're using UNIX, you could spawn a shell (
/bin/sh) using
Runtime.exec, and pass the whole command-line with a
& symbol at the end of the command. This will put the new process in the background.
You can do the same thing in Windows using cmd.exe and jrew, which is a native Win32 application that should act the same way.
Just a note that, in general, I don't like using Runtime.exec and would recommend looking for another way to accomplish your task.
-chris