From cd9085489925601596773e9dbdec99432ed4255b Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Fri, 5 Jun 2015 17:27:04 -0700 Subject: [PATCH] Doc fix for process.rs File handles are inherited from, not by, the parent process --- src/libstd/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/process.rs b/src/libstd/process.rs index 42d9ad81b59..e8f2c4eefd4 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -268,7 +268,7 @@ fn spawn_inner(&self, default_io: StdioImp) -> io::Result { /// 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 { self.spawn_inner(StdioImp::Raw(imp::Stdio::Inherit)) -- 2.44.0