Skip to content

Commit 859ebef

Browse files
committed
Add note about being blocked on input.
1 parent 5ee7db6 commit 859ebef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libstd/process.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ impl fmt::Debug for Child {
157157
/// This struct is used in the [`stdin`] field on [`Child`].
158158
///
159159
/// When an instance of `ChildStdin` is [dropped], the `ChildStdin`'s underlying
160-
/// file handle will be closed.
160+
/// file handle will be closed. If the child process was blocked on input prior
161+
/// to being dropped, it will become unblocked after dropping.
161162
///
162163
/// [`Child`]: struct.Child.html
163164
/// [`stdin`]: struct.Child.html#structfield.stdin

0 commit comments

Comments
 (0)