Message145662
| 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:33 | techtonik | set | recipients:
+ techtonik, docs@python |
| 2011年10月17日 11:21:33 | techtonik | set | messageid: <1318850493.84.0.375275631996.issue13195@psf.upfronthosting.co.za> |
| 2011年10月17日 11:21:33 | techtonik | link | issue13195 messages |
| 2011年10月17日 11:21:33 | techtonik | create |
|