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()
Detachs this process.
|
|
|
Returns this process exit value.
|
|
|
Registers an exit callback.
|
|
|
Unregisters an exit callback.
|
|
|
waitFor()
Waits for this process to terminate and return the exit value.
|