This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Joe.Borg
Recipients Joe.Borg
Date 2019-04-30.16:38:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556642336.59.0.253389839782.issue36760@roundup.psfhosted.org>
In-reply-to
Content
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 `capture_output=True`, you get the following exception:

"""
ValueError: stdout and stderr arguments may not be used with capture_output.
"""

So, it seems impossible to get the combined outputs of stdout and stderr with `run()`.
History
Date User Action Args
2019-04-30 16:38:56Joe.Borgsetrecipients: + Joe.Borg
2019-04-30 16:38:56Joe.Borgsetmessageid: <1556642336.59.0.253389839782.issue36760@roundup.psfhosted.org>
2019-04-30 16:38:56Joe.Borglinkissue36760 messages
2019-04-30 16:38:56Joe.Borgcreate