[issue36760] subprocess.run fails with capture_output=True and stderr=STDOUT

2019-05-14 Thread miss-islington
miss-islington added the comment: New changeset 822683238c36e15f59d289075917ff7dedb5f4e6 by Miss Islington (bot) in branch '3.7': bpo-36760: Clarify subprocess capture_output docs. (GH-13322) https://github.com/python/cpython/commit/822683238c36e15f59d289075917ff7dedb5f4e6 -- nosy:

[issue36760] subprocess.run fails with capture_output=True and stderr=STDOUT

2019-05-14 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36760] subprocess.run fails with capture_output=True and stderr=STDOUT

2019-05-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset e883091abf7ca84a88e956fe5202e75c53bd4128 by Gregory P. Smith in branch 'master': bpo-36760: Clarify subprocess capture_output docs. (GH-13322) https://github.com/python/cpython/commit/e883091abf7ca84a88e956fe5202e75c53bd4128 --

[issue36760] subprocess.run fails with capture_output=True and stderr=STDOUT

2019-05-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +13239 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36760] subprocess.run fails with capture_output=True and stderr=STDOUT

2019-05-14 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith components: +Documentation -Library (Lib) versions: +Python 3.8 ___ Python tracker ___

[issue36760] subprocess.run fails with capture_output=True and stderr=STDOUT

2019-05-14 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +patch pull_requests: +13233 stage: -> patch review ___ Python tracker ___ ___

[issue36760] subprocess.run fails with capture_output=True and stderr=STDOUT

2019-04-30 Thread Martin Panter
Martin Panter added the comment: Python 3.7 added the "capture_output" parameter, for Issue 32102. Before that change, you could use "subprocess.PIPE": https://docs.python.org/3.6/library/subprocess.html#subprocess.run “To [capture output], pass PIPE for the ‘stdout’ and/or ‘stderr’

[issue36760] subprocess.run fails with capture_output=True and stderr=STDOUT

2019-04-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Are you using something like below? This exception was added with ce0f33d04528fcafc673a8707871f8430d8f7ce8 (issue32102) >>> subprocess.run('ls', stdout=subprocess.PIPE, capture_output=True) Traceback (most recent call last): File "", line 1, in

[issue36760] subprocess.run fails with capture_output=True and stderr=STDOUT

2019-04-30 Thread Joe Borg
New submission from Joe Borg : Reading from https://docs.python.org/3/library/subprocess.html#subprocess.CompletedProcess """ If you ran the process with stderr=subprocess.STDOUT, stdout and stderr will be combined in this attribute, and stderr will be None. """ But, if you run `run()` with