Process

Subprocess handler

Do not create direct instances of this struct. Use ProcessManager.alloc instead.

Postblit

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

Members

Enums

StdIO
enum StdIO

The three IO streams that can be redirected

Functions

_poolElementInit
void _poolElementInit()
Undocumented in source. Be warned that the author may not have intended to support it.
isRunning
bool isRunning()

Test whether the child process is still running

kill
void kill(OSSignal signal)

Send the process a signal

redirectErrToOut
void redirectErrToOut()

Redirect stderr to stdout

redirectIO
void redirectIO(StdIO io, FD fd)

Redirect a standard IO for the child to an FD

redirectIO
void redirectIO(StdIO io)

Redirect a standard IO for the child to a pipe

run
void run(string[] args)

Run the child with the given arguments.

wait
int wait(Timeout timeout)

Suspend fiber until the child process finishes

Properties

pid
pid_t pid [@property getter]

Returns the pid of the child.

Variables

stdIO
ReactorFD[3] stdIO;

Parent side end of standard streams

Meta