diff options
| author | bors <bors@rust-lang.org> | 2017-10-17 14:57:33 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-10-17 14:57:33 +0000 |
| commit | f6d7514545cbe83e771a400d04049b96dfb210cd (patch) | |
| tree | 11fbe162f7fd6a69b48549598001472f4d311045 /src/libstd/process.rs | |
| parent | 0be6863a15f5aacacb287ca490823ab3b7ceb302 (diff) | |
| parent | 7f72b311653401226fedeb29bcae484993a14ac0 (diff) | |
| download | rust-f6d7514545cbe83e771a400d04049b96dfb210cd.tar.gz rust-f6d7514545cbe83e771a400d04049b96dfb210cd.zip | |
Auto merge of #45344 - kennytm:rollup, r=kennytm
Rollup of 10 pull requests - Successful merges: #45097, #45151, #45307, #45308, #45310, #45315, #45321, #45329, #45338, #45339 - Failed merges:
Diffstat (limited to 'src/libstd/process.rs')
| -rw-r--r-- | src/libstd/process.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs index f448cffd372..533f6590f83 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -552,6 +552,12 @@ impl Command { /// Configuration for the child process's standard input (stdin) handle. /// + /// Defaults to [`inherit`] when used with `spawn` or `status`, and + /// defaults to [`piped`] when used with `output`. + /// + /// [`inherit`]: struct.Stdio.html#method.inherit + /// [`piped`]: struct.Stdio.html#method.piped + /// /// # Examples /// /// Basic usage: @@ -572,6 +578,12 @@ impl Command { /// Configuration for the child process's standard output (stdout) handle. /// + /// Defaults to [`inherit`] when used with `spawn` or `status`, and + /// defaults to [`piped`] when used with `output`. + /// + /// [`inherit`]: struct.Stdio.html#method.inherit + /// [`piped`]: struct.Stdio.html#method.piped + /// /// # Examples /// /// Basic usage: @@ -592,6 +604,12 @@ impl Command { /// Configuration for the child process's standard error (stderr) handle. /// + /// Defaults to [`inherit`] when used with `spawn` or `status`, and + /// defaults to [`piped`] when used with `output`. + /// + /// [`inherit`]: struct.Stdio.html#method.inherit + /// [`piped`]: struct.Stdio.html#method.piped + /// /// # Examples /// /// Basic usage: |
