bpo-32102 Add "capture_output=True" option to subprocess.run by bbayles · Pull Request #5149 · python/cpython (original) (raw)
This PR adds the capture_output
parameter to subprocess.run
, as described in issue 32102.
I have been pleased to see the subprocess
getting easier to use over the last few releases, and was happy to see the idea for replacing subprocess.run(..., stdin=subprocess.PIPE, stdout=subprocess.PIPE)
with something friendlier had already been proposed.