[issue6760] patch to subprocess docs to better explain Popen's 'args' argument
R. David Murray
report at bugs.python.org
Tue Feb 2 14:30:34 CET 2010
R. David Murray <rdmurray at bitdance.com> added the comment:
I like the idea of pointing out that shlex can be used to determine exactly what to pass to subprocess, but I agree that the proposed patch is too wordy (and still too much in a negative voice).
Here is an alternate simpler patch.
Note that while I have also clarified the last sentence in the shell=True case, I think that this is in fact a bug in the Popen API. As far as I can tell the ability to pass arguments to the shell after the -c is useless, and I think Popen should instead raise a ValueError if passed a sequence when shell is True. But that is a different bug report....
----------
nosy: +r.david.murray
priority: -> normal
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6760>
_______________________________________
More information about the Python-bugs-list
mailing list