< prev index next >
src/java.base/share/classes/java/lang/Runtime.java
Print this page
*** 444,454 ****
* If {@code cmdarray} is an empty array
* (has length {@code 0})
*
* @see ProcessBuilder
*/
! public Process exec(String cmdarray[]) throws IOException {
return exec(cmdarray, null, null);
}
/**
* Executes the specified command and arguments in a separate process
--- 444,454 ----
* If {@code cmdarray} is an empty array
* (has length {@code 0})
*
* @see ProcessBuilder
*/
! public Process exec(String[] cmdarray) throws IOException {
return exec(cmdarray, null, null);
}
/**
* Executes the specified command and arguments in a separate process
< prev index next >