New submission from anatoly techtonik <techto...@gmail.com>:

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."

----------
assignee: docs@python
components: Documentation, Library (Lib)
messages: 145662
nosy: docs@python, techtonik
priority: normal
severity: normal
status: open
title: subprocess: args with shell=True is not documented on Windows

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13195>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to