ProcessManager

Process tracking management

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

OutputHandlerDlg
alias OutputHandlerDlg = void delegate(Process* child, const(char)[] output) nothrow
Undocumented in source.

Functions

alloc
ProcessPtr alloc()

Allocate a new handler for a child process.

close
void close()

Shut down the process manager

collectCommandOutput
void collectCommandOutput(OutputHandlerDlg outputProcessor, string[] cmdline)

Run a command and pass its output to a callback

open
void open(size_t maxProcesses)

initialize the process manager

registerSigChldHandler
void registerSigChldHandler(void delegate(pid_t pid, int status) nothrow @(system) handler)

Register custom SIGCHLD handler

sigChildHandler
void sigChildHandler(OSSignal )
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

_commandOutputFiber
void _commandOutputFiber(OutputHandlerDlg outputProcessor, string[] cmdline)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta