@@ -552,6 +552,15 @@ 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
+ /// On Windows, if the `#![windows_subsystem = "windows"]` attribute is
559
+ /// set, no stdin is connected unless explicitly assigned.
560
+ ///
561
+ /// [`inherit`]: struct.Stdio.html#method.inherit
562
+ /// [`piped`]: struct.Stdio.html#method.piped
563
+ ///
555
564
/// # Examples
556
565
///
557
566
/// Basic usage:
@@ -572,6 +581,15 @@ impl Command {
572
581
573
582
/// Configuration for the child process's standard output (stdout) handle.
574
583
///
584
+ /// Defaults to [`inherit`] when used with `spawn` or `status`, and
585
+ /// defaults to [`piped`] when used with `output`.
586
+ ///
587
+ /// On Windows, if the `#![windows_subsystem = "windows"]` attribute is
588
+ /// set, no stdout is connected unless explicitly assigned.
589
+ ///
590
+ /// [`inherit`]: struct.Stdio.html#method.inherit
591
+ /// [`piped`]: struct.Stdio.html#method.piped
592
+ ///
575
593
/// # Examples
576
594
///
577
595
/// Basic usage:
@@ -592,6 +610,15 @@ impl Command {
592
610
593
611
/// Configuration for the child process's standard error (stderr) handle.
594
612
///
613
+ /// Defaults to [`inherit`] when used with `spawn` or `status`, and
614
+ /// defaults to [`piped`] when used with `output`.
615
+ ///
616
+ /// On Windows, if the `#![windows_subsystem = "windows"]` attribute is
617
+ /// set, no stderr is connected unless explicitly assigned.
618
+ ///
619
+ /// [`inherit`]: struct.Stdio.html#method.inherit
620
+ /// [`piped`]: struct.Stdio.html#method.piped
621
+ ///
595
622
/// # Examples
596
623
///
597
624
/// Basic usage:
0 commit comments