Add note about being blocked on input.
This commit is contained in:
parent
5ee7db6a0e
commit
859ebef62f
1 changed files with 2 additions and 1 deletions
|
@ -157,7 +157,8 @@ impl fmt::Debug for Child {
|
||||||
/// This struct is used in the [`stdin`] field on [`Child`].
|
/// This struct is used in the [`stdin`] field on [`Child`].
|
||||||
///
|
///
|
||||||
/// When an instance of `ChildStdin` is [dropped], the `ChildStdin`'s underlying
|
/// 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
|
/// [`Child`]: struct.Child.html
|
||||||
/// [`stdin`]: struct.Child.html#structfield.stdin
|
/// [`stdin`]: struct.Child.html#structfield.stdin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue