From 859ebef62fa0e7fcfc2af200dac11d2f899ea37f Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Thu, 21 Sep 2017 21:11:11 -0400 Subject: Add note about being blocked on input. --- src/libstd/process.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libstd/process.rs') diff --git a/src/libstd/process.rs b/src/libstd/process.rs index 33451a470d0..1869ad3ed70 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -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 -- cgit 1.4.1-3-g733a5