Skip to content

Commit

Permalink
Doc fix for process.rs
Browse files Browse the repository at this point in the history
File handles are inherited from, not by, the parent process
  • Loading branch information
sourcefrog committed Jun 6, 2015
1 parent c78c099 commit cd90854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/process.rs
Expand Up @@ -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))
Expand Down

0 comments on commit cd90854

Please sign in to comment.