We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Command::output
1 parent b55d290 commit 2178e3aCopy full SHA for 2178e3a
src/libstd/process.rs
@@ -712,8 +712,10 @@ impl Command {
712
/// Executes the command as a child process, waiting for it to finish and
713
/// collecting all of its output.
714
///
715
- /// By default, stdin, stdout and stderr are captured (and used to
716
- /// 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
717
+ /// attempt by the child process to read from the stdin stream will result
718
+ /// in the stream immediately closing.
719
720
/// # Examples
721
0 commit comments