pub type ChildProcess = Child;Expand description
For disambiguation.
Aliased Type§
pub struct ChildProcess {
pub stdin: Option<ChildStdin>,
pub stdout: Option<ChildStdout>,
pub stderr: Option<ChildStderr>,
/* private fields */
}Fields§
§stdin: Option<ChildStdin>The handle for writing to the child’s standard input (stdin), if it has been captured. You might find it helpful to do
ⓘ
let stdin = child.stdin.take().expect("handle present");to avoid partially moving the child and thus blocking yourself from calling
functions on child while using stdin.
stdout: Option<ChildStdout>The handle for reading from the child’s standard output (stdout), if it has been captured. You might find it helpful to do
ⓘ
let stdout = child.stdout.take().expect("handle present");to avoid partially moving the child and thus blocking yourself from calling
functions on child while using stdout.
stderr: Option<ChildStderr>The handle for reading from the child’s standard error (stderr), if it has been captured. You might find it helpful to do
ⓘ
let stderr = child.stderr.take().expect("handle present");to avoid partially moving the child and thus blocking yourself from calling
functions on child while using stderr.