This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients benhoyt, berwyn, davidfraser, skrah
Date 2010-07-21.21:06:59
SpamBayes Score 0.00031955383
Marked as misclassified No
Message-id <1279746422.01.0.771233712411.issue6689@psf.upfronthosting.co.za>
In-reply-to
Content
I find this particular section one of the most clear sections in the
whole Python documentation:

"On Unix, with shell=True: If args is a string, it specifies the command string to execute through the shell. This means that the string must be formatted exactly as it would be when typed at the shell prompt. This includes, for example, quoting or backslash escaping filenames with spaces in them. If args is a sequence, the first item specifies the command string, and any additional items will be treated as additional arguments to the shell itself. That is to say, Popen does the equivalent of:

Popen(['/bin/sh', '-c', args[0], args[1], ...])"
History
Date User Action Args
2010-07-21 21:07:02skrahsetrecipients: + skrah, davidfraser, benhoyt, berwyn
2010-07-21 21:07:02skrahsetmessageid: <1279746422.01.0.771233712411.issue6689@psf.upfronthosting.co.za>
2010-07-21 21:07:00skrahlinkissue6689 messages
2010-07-21 21:07:00skrahcreate