Struct std::process::Child
Re-export from std::process::unix::Child
Child process
Fields
-
pid: pid_t
-
stdin: Option<FileDescriptor>
-
stdout: Option<FileDescriptor>
-
stderr: Option<FileDescriptor>
Methods
impl Child { ... }
-
fn from_pid(pid: pid_t) -> Child
Construct
Child
from a given process id. -
Wait for child to exit, reading stdout and stderr if I/O redirection is requested.
-
fn wait(self: &mut Child) -> Result<ExitStatus>
Wait for child to exit, returning the exit status.
-
Kill the child process.
-
Close all pipes.