@@ -52,10 +52,12 @@ underlying :class:`Popen` interface can be used directly.
52
52
53
53
If *capture_output * is true, stdout and stderr will be captured.
54
54
When used, the internal :class: `Popen ` object is automatically created with
55
- ``stdout=PIPE `` and ``stderr=PIPE ``. The *stdout * and *stderr * arguments may
56
- not be supplied at the same time as *capture_output *. If you wish to capture
57
- and combine both streams into one, use ``stdout=PIPE `` and ``stderr=STDOUT ``
58
- instead of *capture_output *.
55
+ *stdout * and *stdin * both set to :data: `~subprocess.PIPE `.
56
+ The *stdout * and *stderr * arguments may not be supplied at the same time as *capture_output *.
57
+ If you wish to capture and combine both streams into one,
58
+ set *stdout * to :data: `~subprocess.PIPE `
59
+ and *stderr * to :data: `~subprocess.STDOUT `,
60
+ instead of using *capture_output *.
59
61
60
62
A *timeout * may be specified in seconds, it is internally passed on to
61
63
:meth: `Popen.communicate `. If the timeout expires, the child process will be
@@ -69,7 +71,8 @@ underlying :class:`Popen` interface can be used directly.
69
71
subprocess's stdin. If used it must be a byte sequence, or a string if
70
72
*encoding * or *errors * is specified or *text * is true. When
71
73
used, the internal :class: `Popen ` object is automatically created with
72
- ``stdin=PIPE ``, and the *stdin * argument may not be used as well.
74
+ *stdin * set to :data: `~subprocess.PIPE `,
75
+ and the *stdin * argument may not be used as well.
73
76
74
77
If *check * is true, and the process exits with a non-zero exit code, a
75
78
:exc: `CalledProcessError ` exception will be raised. Attributes of that
0 commit comments