about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-11-23 21:48:30 +0000
committerbors <bors@rust-lang.org>2017-11-23 21:48:30 +0000
commitbbd7932a66b56da9a1c7d8cc30dc931922b356c0 (patch)
treef3ed11de96904f08b8166bef2cb96ad0e0c98c77 /src/libstd
parent246a6d19c9844744737876fc55701395ae535579 (diff)
parente6968dfa0d58cd4299e9db88ad53ec309fa4192a (diff)
downloadrust-bbd7932a66b56da9a1c7d8cc30dc931922b356c0.tar.gz
rust-bbd7932a66b56da9a1c7d8cc30dc931922b356c0.zip
Auto merge of #46225 - GuillaumeGomez:rollup, r=GuillaumeGomez
Rollup of 5 pull requests

- Successful merges: #45635, #46177, #46190, #46218, #46220
- Failed merges:
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/process.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs
index 35c33f40253..2335695ae42 100644
--- a/src/libstd/process.rs
+++ b/src/libstd/process.rs
@@ -712,8 +712,10 @@ impl Command {
     /// Executes the command as a child process, waiting for it to finish and
     /// collecting all of its output.
     ///
-    /// By default, stdin, stdout and stderr are captured (and used to
-    /// provide the resulting output).
+    /// By default, stdout and stderr are captured (and used to provide the
+    /// resulting output). Stdin is not inherited from the parent and any
+    /// attempt by the child process to read from the stdin stream will result
+    /// in the stream immediately closing.
     ///
     /// # Examples
     ///