New submission from akira:
It is convenient to have Popen.args available. Especially when dealing with multiple processes e.g., to log failures mentioning the command that was used to spawn the child process.
subprocess module itself uses it while raising CalledProcessError or TimeoutExpired exceptions.
The documentation patch is attached.
---------- assignee: docs@python components: Documentation files: docs-subprocess-document_Popen_args_attribute.patch keywords: patch messages: 217183 nosy: akira, docs@python priority: normal severity: normal status: open title: document Popen.args attribute type: enhancement versions: Python 3.3, Python 3.4, Python 3.5 Added file: http://bugs.python.org/file35042/docs-subprocess-document_Popen_args_attribu...
Antoine Pitrou added the comment:
Gregory, do you think this is ok to document?
---------- nosy: +gregory.p.smith, pitrou stage: -> patch review versions: -Python 3.3
Roundup Robot added the comment:
New changeset 0a4b211b927e by Gregory P. Smith in branch '3.3': Document the subprocess Popen.args attribute (issue21353) http://hg.python.org/cpython/rev/0a4b211b927e
New changeset 182b869283a5 by Gregory P. Smith in branch '3.4': Document the subprocess Popen.args attribute (issue21353) http://hg.python.org/cpython/rev/182b869283a5
New changeset 0b2e199ad088 by Gregory P. Smith in branch 'default': Document the subprocess Popen.args attribute (issue21353) http://hg.python.org/cpython/rev/0b2e199ad088
---------- nosy: +python-dev
Gregory P. Smith added the comment:
yes. this was overlooked. thanks!
---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed