[Python-Dev] subprocess shell=True on Windows doesn't escape ^ character
anatoly techtonik
techtonik at gmail.com
Thu Jun 12 01:00:55 CEST 2014
On Thu, Jun 12, 2014 at 1:30 AM, Chris Angelico <rosuav at gmail.com> wrote:
> Why pass shell=True when executing a single
> command? I don't get it.
>
I don't know about Linux, but on Windows programs are not directly
available as /usr/bin/python, so you need to find command in PATH
directories. Passing shell=True makes this lookup done by shell and not
manually.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140612/f2d03e31/attachment-0001.html>
More information about the Python-Dev
mailing list