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 techtonik
Recipients docs@python, techtonik
Date 2011-10-17.11:21:33
SpamBayes Score 3.8695947e-05
Marked as misclassified No
Message-id <1318850493.84.0.375275631996.issue13195@psf.upfronthosting.co.za>
In-reply-to
Content
For UNIX, it is said that if shell=False then you need to pass `args` as a list (if you want to pass any parameters to executable). Is that true for Windows (and perhaps other platforms) as well?

Again, for UNIX it is said that with shell=True, and args is a list - every item except the first one is an argument to the shell itself. Is it the same on Windows?


It would be better to just give advice in `shell` parameter description to "pass args as a list with shell=False or else you'll lose params in Unix. If shell=True you need to pass args as a string, because list is needed only if you need to pass arguments to shell itself."
History
Date User Action Args
2011-10-17 11:21:33techtoniksetrecipients: + techtonik, docs@python
2011-10-17 11:21:33techtoniksetmessageid: <1318850493.84.0.375275631996.issue13195@psf.upfronthosting.co.za>
2011-10-17 11:21:33techtoniklinkissue13195 messages
2011-10-17 11:21:33techtonikcreate