summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
///