mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-24 14:34:23 +00:00
Add note about being blocked on input.
This commit is contained in:
parent
5ee7db6a0e
commit
859ebef62f
@ -157,7 +157,8 @@ impl fmt::Debug for Child {
|
||||
/// 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
|
||||
|
Loading…
Reference in New Issue
Block a user