R. David Murray <rdmur...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue6760> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com