]> granicus.if.org Git - python/commit
bpo-32102 Add "capture_output=True" to subprocess.run (GH-5149)
authorBo Bayles <bbayles@gmail.com>
Tue, 30 Jan 2018 06:40:39 +0000 (00:40 -0600)
committerGregory P. Smith <greg@krypto.org>
Tue, 30 Jan 2018 06:40:39 +0000 (22:40 -0800)
commitce0f33d04528fcafc673a8707871f8430d8f7ce8
treede60362ad2f3c1bb8af239c1926a7f907887e8c1
parent95441809ef77a8df5e14601ade6c054ef7114c02
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.
Doc/library/subprocess.rst
Lib/subprocess.py
Lib/test/test_subprocess.py
Misc/ACKS
Misc/NEWS.d/next/Library/2018-01-10-18-04-21.bpo-32102.9-CZgD.rst [new file with mode: 0644]