Interface EventDriverProcesses
interface EventDriverProcesses
;
Properties
Name | Type | Description |
---|---|---|
userData [set]
|
T | Retrieves a reference to a user-defined value associated with a descriptor. |
Methods
Name | Description |
---|---|
addRef
(pid)
|
Increments the reference count of the given resource. |
adopt
(system_pid)
|
Adopt an existing process. |
cancelWait
(pid, waitId)
|
Cancel a wait for the given identifier returned by wait. |
hasExited
(pid)
|
Returns whether the process has exited yet. |
isValid
(handle)
|
Determines whether the given process handle is valid. |
kill
(pid, signal)
|
Kill the process using the given signal. Has different effects on different platforms. |
releaseRef
(pid)
|
Decrements the reference count of the given resource. |
spawn
(args, stdin, stdout, stderr, env, config, working_dir)
|
Spawn a child process. |
wait
(pid, on_process_exit)
|
Wait for the process to exit. |
rawUserData
(descriptor, size, initialize, destroy)
|
Low-level user data access. Use userData instead.
|