mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
Add note about being blocked on input.
This commit is contained in:
@@ -157,7 +157,8 @@ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
/// This struct is used in the [`stdin`] field on [`Child`].
|
||||
///
|
||||
/// When an instance of `ChildStdin` is [dropped], the `ChildStdin`'s underlying
|
||||
/// file handle will be closed.
|
||||
/// file handle will be closed. If the child process was blocked on input prior
|
||||
/// to being dropped, it will become unblocked after dropping.
|
||||
///
|
||||
/// [`Child`]: struct.Child.html
|
||||
/// [`stdin`]: struct.Child.html#structfield.stdin
|
||||
|
||||
Reference in New Issue
Block a user