Skip to content

Commit cd90854

Browse files
committed
Doc fix for process.rs
File handles are inherited from, not by, the parent process
1 parent c78c099 commit cd90854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ impl Command {
268268

269269
/// Executes the command as a child process, returning a handle to it.
270270
///
271-
/// By default, stdin, stdout and stderr are inherited by the parent.
271+
/// By default, stdin, stdout and stderr are inherited from the parent.
272272
#[stable(feature = "process", since = "1.0.0")]
273273
pub fn spawn(&mut self) -> io::Result<Child> {
274274
self.spawn_inner(StdioImp::Raw(imp::Stdio::Inherit))

0 commit comments

Comments
 (0)