Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] subprocess shell=True on Windows doesn't escape ^character

anatoly techtoniktechtonik 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 directlyavailable as /usr/bin/python, so you need to find command in PATHdirectories. Passing shell=True makes this lookup done by shell and notmanually.-------------- 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-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp