Commit 8ad580e
committed
Remove undocumented stderr parameter
subprocess.check_call(args, stderr=True) merges child stderr into parent
stdout instead of separating streams.
CPython accepts it because bool inherits from int, interpreting True as
file descriptor 1 (stdout). This redirects child stderr to parent stdout,
mixing diagnostic output with normal output.
This removes stderr parameter to use default (stderr=None), which inherits
parent stderr per subprocess documentation, properly separating stdout and
stderr streams.1 parent 67819bf commit 8ad580e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments