The class Process provides methods for performing input from the process,
performing output to the process, waiting for the process to complete,
checking the exit status of the process, and destroying (killing) the process.
Defined in: Process.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
jls.lang.Process(cmdArray, envp, dir)
Creates a process with the specified command and arguments with the specified environment and working directory.
|
| Method Attributes | Method Name and Description |
|---|---|
|
destroy()
Kills this process.
|
|
|
detach()
Detach this process.
|
|
|
waitFor()
Wait for this process to terminate and return the exit value.
|