Struct Process
Represents a running process.
Properties
Name | Type | Description |
exited [get]
|
bool | Whether the process has exited.
|
pid [get]
|
int | An operating system handle to the process.
|
Methods
Name | Description |
forceKill
()
|
Terminate the process immediately.
|
kill
(signal)
|
Kill the process.
|
opCast
()
|
Check whether this is a valid process handle. The process may have
exited already.
|
wait
()
|
Wait for the process to exit, allowing other fibers to continue in the
meantime.
|
waitOrForceKill
(timeout)
|
Wait for the process to exit until a timeout is reached. If the process
doesn't exit before the timeout, force kill it.
|