wait_pid

Wait for a process with PID pid to finish.

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

  1. WRes wait_pid(pid_t pid, bool block)
    version(D_Ddoc)
    wait_pid
    (,
    bool block = true
    )
  2. WRes wait_pid(pid_t pid, bool block)
  3. WRes wait_pid(pid_t , bool )

Meta