|
rstd 0.1.0
|
A child process handle. More...
Public Member Functions | |
| auto | id () const noexcept -> u32 |
| Returns the OS-assigned process ID. | |
| auto | take_stdin () -> Option< ChildStdin > |
| Takes ownership of the child's stdin pipe handle. | |
| auto | take_stdout () -> Option< ChildStdout > |
| Takes ownership of the child's stdout pipe handle. | |
| auto | take_stderr () -> Option< ChildStderr > |
| Takes ownership of the child's stderr pipe handle. | |
| auto | wait () -> io::Result< ExitStatus > |
| Waits for the child to exit and returns its status. | |
| auto | kill () -> io::Result< rstd::empty > |
| Sends SIGKILL to the child process. | |
| auto | wait_with_output () -> io::Result< Output > |
| Waits for the child and collects all remaining stdout/stderr. | |
A child process handle.