|
Re: HELP! Runtime.getRuntime().exec("java Test")
|
Posted: Mar 24, 2004 10:58 PM
|
|
Hi,
I think you can use the other method types..as bellow..
1. exec(String[] cmdarray, String[] envp) Executes the specified command and arguments in a separate process with the specified environment.
2. exec(String[] cmdarray, String[] envp, File dir) Executes the specified command and arguments in a separate process with the specified environment and working directory.
3. exec(String cmd, String[] envp) Executes the specified string command in a separate process with the specified environment.
4. exec(String command, String[] envp, File dir) Executes the specified string command in a separate process with the specified environment and working directory.
|
|