Author r.david.murray
Recipients Tuomas.Savolainen, docs@python, klausman, r.david.murray
Date 2014-03-21.13:38:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395409102.78.0.769665868365.issue20344@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks Tuomas, but we don't have any consensus that that kind of change will be accepted.  It's just my opinion that it should be...and if it was, it would have to start with a deprecation, not raising an exception.

What we need as a patch for this issue is a documentation patch explaining why using shell=True with a list is a bad idea in the 'frequently used arguments' section.  The paragraph about 'args' in the frequently used arguments section should say something like 'using shell=True with a list containing more than one element does not currently raise an error, but it will not do what you expect; only the first element of the list will be executed on unix, and on windows the quoting is likely to be incorrect.  See the Popen constructor documentation below for a more precise description.'

(You can see why I think this usage should be deprecated, I hope ;)
History
Date User Action Args
2014-03-21 13:38:22r.david.murraysetrecipients: + r.david.murray, docs@python, klausman, Tuomas.Savolainen
2014-03-21 13:38:22r.david.murraysetmessageid: <1395409102.78.0.769665868365.issue20344@psf.upfronthosting.co.za>
2014-03-21 13:38:22r.david.murraylinkissue20344 messages
2014-03-21 13:38:22r.david.murraycreate