diff options
author | Bo Bayles <bbayles@gmail.com> | 2018-01-30 06:40:39 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2018-01-30 06:40:39 (GMT) |
commit | ce0f33d04528fcafc673a8707871f8430d8f7ce8 (patch) | |
tree | de60362ad2f3c1bb8af239c1926a7f907887e8c1 /Misc | |
parent | 95441809ef77a8df5e14601ade6c054ef7114c02 (diff) | |
download | cpython-ce0f33d04528fcafc673a8707871f8430d8f7ce8.zip cpython-ce0f33d04528fcafc673a8707871f8430d8f7ce8.tar.gz cpython-ce0f33d04528fcafc673a8707871f8430d8f7ce8.tar.bz2 |
bpo-32102 Add "capture_output=True" to subprocess.run (GH-5149)
Add "capture_output=True" option to subprocess.run, this is equivalent to
setting stdout=PIPE, stderr=PIPE but is much more readable.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-01-10-18-04-21.bpo-32102.9-CZgD.rst | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -108,6 +108,7 @@ Michael R Bax Anthony Baxter Mike Bayer Samuel L. Bayer +Bo Bayles Tommy Beadle Donald Beaudry David Beazley diff --git a/Misc/NEWS.d/next/Library/2018-01-10-18-04-21.bpo-32102.9-CZgD.rst b/Misc/NEWS.d/next/Library/2018-01-10-18-04-21.bpo-32102.9-CZgD.rst new file mode 100644 index 0000000..cd4d0b5 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-01-10-18-04-21.bpo-32102.9-CZgD.rst @@ -0,0 +1 @@ +New argument ``capture_output`` for subprocess.run |