The OpenD Programming Language

wait_pid

Wait for a process with PID pid to finish.

If block is false, this function will not block, and return ChildStatus.running if the process is still running. Otherwise it will return always ChildStatus.done (unless there is an error, in which case ChildStatus.error is returned).

version(Posix)
nothrow @nogc @system
wait_pid
(
pid_t pid
,
bool block = true
)

Meta