Message98732
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.... |
|
Date |
User |
Action |
Args |
2010-02-02 13:30:34 | r.david.murray | set | recipients:
+ r.david.murray, georg.brandl, terry.reedy, ncoghlan, pitrou, benjamin.peterson, brian.curtin, cvrebert |
2010-02-02 13:30:34 | r.david.murray | set | messageid: <1265117434.88.0.497938010243.issue6760@psf.upfronthosting.co.za> |
2010-02-02 13:30:33 | r.david.murray | link | issue6760 messages |
2010-02-02 13:30:33 | r.david.murray | create | |
|