Saturday, May 27, 2006

java.lang.Runtime

Following are the few methods in Runtime class -

Process exec(String command) --> Executes the specified string command in a separate process.

Process exec(String[] cmdarray) --> Executes the specified command and arguments in a separate process.

Process exec(String[] cmdarray, String[] envp) --> Executes the specified command and arguments in a separate process

Process exec(String[] cmdarray, String[] envp, File dir) --> Executes the specified command and arguments in a separate process with the specifiedenvironment and working
directory.

Process exec(String command, String[] envp) --> Executes the specified string command in a separate process with the specified environment.

Process exec(String command, String[] envp, File dir) --> Executes the specified string command in a separate process with the specified environment and working directory.

0 Comments:

Post a Comment

<< Home