File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -552,6 +552,12 @@ impl Command {
552
552
553
553
/// Configuration for the child process's standard input (stdin) handle.
554
554
///
555
+ /// Defaults to [`inherit`] when used with `spawn` or `status`, and
556
+ /// defaults to [`piped`] when used with `output`.
557
+ ///
558
+ /// [`inherit`]: struct.Stdio.html#method.inherit
559
+ /// [`piped`]: struct.Stdio.html#method.piped
560
+ ///
555
561
/// # Examples
556
562
///
557
563
/// Basic usage:
@@ -572,6 +578,12 @@ impl Command {
572
578
573
579
/// Configuration for the child process's standard output (stdout) handle.
574
580
///
581
+ /// Defaults to [`inherit`] when used with `spawn` or `status`, and
582
+ /// defaults to [`piped`] when used with `output`.
583
+ ///
584
+ /// [`inherit`]: struct.Stdio.html#method.inherit
585
+ /// [`piped`]: struct.Stdio.html#method.piped
586
+ ///
575
587
/// # Examples
576
588
///
577
589
/// Basic usage:
@@ -592,6 +604,12 @@ impl Command {
592
604
593
605
/// Configuration for the child process's standard error (stderr) handle.
594
606
///
607
+ /// Defaults to [`inherit`] when used with `spawn` or `status`, and
608
+ /// defaults to [`piped`] when used with `output`.
609
+ ///
610
+ /// [`inherit`]: struct.Stdio.html#method.inherit
611
+ /// [`piped`]: struct.Stdio.html#method.piped
612
+ ///
595
613
/// # Examples
596
614
///
597
615
/// Basic usage:
You can’t perform that action at this time.
0 commit comments