Method exec(String[] cmdarray, String[] envp)
Return type: java.lang.Process
Member of: java.lang.Runtime
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 Process p = rt.exec(cmdArray, environment);
2 Process p = rt.exec(cmdArray, environment);
3 Runtime.getRuntime().exec( this.argv, this.envp );
4 Process proc = Runtime.getRuntime().exec(
5 proc = Runtime.getRuntime().exec(commandArr, envp);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.