A handle for a process created with Process::launch().
This handle can be used to determine the process ID of the newly created process and it can be used to wait for the completion of a process.
typedef ProcessImpl::PIDImpl PID;
Creates a ProcessHandle by copying another one.
ProcessHandleImpl * pImpl
Destroys the ProcessHandle.
PID id() const;
Returns the process ID.
Assigns another handle.
int wait() const;
Waits for the process to terminate and returns the exit code of the process.