Skip to content

Commit e358ce1

Browse files
committed
Improve doc of RemoteChild
Signed-off-by: Jiahao XU <[email protected]>
1 parent a74a534 commit e358ce1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/child.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ macro_rules! delegate {
6262
/// available,`Stdio::piped()` should be passed to the corresponding method on
6363
/// [`Command`](crate::Command).
6464
///
65+
/// NOTE that once `RemoteChild` is dropped, any data written to `stdin` will not be send to the
66+
/// remote process and `stdout` and `stderr` would eof immediately.
67+
///
6568
/// ```rust,no_run
6669
/// # async fn foo() {
6770
/// # let child: openssh::RemoteChild<'static> = unimplemented!();

0 commit comments

Comments
 (0)