Doc fix for process.rs
File handles are inherited from, not by, the parent process
This commit is contained in:
parent
c78c0994b1
commit
cd90854899
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ impl Command {
|
|||
|
||||
/// Executes the command as a child process, returning a handle to it.
|
||||
///
|
||||
/// By default, stdin, stdout and stderr are inherited by the parent.
|
||||
/// By default, stdin, stdout and stderr are inherited from the parent.
|
||||
#[stable(feature = "process", since = "1.0.0")]
|
||||
pub fn spawn(&mut self) -> io::Result<Child> {
|
||||
self.spawn_inner(StdioImp::Raw(imp::Stdio::Inherit))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue