vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

Interface EventDriverProcesses

interface EventDriverProcesses ;

Properties

NameTypeDescription
userData[set] TRetrieves a reference to a user-defined value associated with a descriptor.

Methods

NameDescription
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.
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. Returns an identifier that can be used to cancel the wait.
rawUserData (descriptor, size, initialize, destroy) Low-level user data access. Use userData instead.
Authors
Copyright
License