Add note about being blocked on input.

This commit is contained in:
Corey Farwell
2017-09-21 21:11:11 -04:00
parent 5ee7db6a0e
commit 859ebef62f
+2 -1
View File
@@ -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