-
Methods in java.lang that return Process
| Modifier and Type |
Method |
Description |
Process |
Runtime.exec(String prog) |
Executes the specified program in a separate native process.
|
Process |
Runtime.exec(String[] progArray) |
Executes the specified command and its arguments in a separate native
process.
|
Process |
Runtime.exec(String[] progArray,
String[] envp) |
Executes the specified command and its arguments in a separate native
process.
|
Process |
Runtime.exec(String[] progArray,
String[] envp,
File directory) |
Executes the specified command and its arguments in a separate native
process.
|
Process |
Runtime.exec(String prog,
String[] envp) |
Executes the specified program in a separate native process.
|
Process |
Runtime.exec(String prog,
String[] envp,
File directory) |
Executes the specified program in a separate native process.
|
Process |
ProcessBuilder.start() |
Starts a new process based on the current state of this process builder.
|