Movatterモバイル変換


[0]ホーム

URL:


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

anatoly techtoniktechtonik at gmail.com
Thu Jun 12 02:00:42 CEST 2014


On Thu, Jun 12, 2014 at 2:00 AM, R. David Murray <rdmurray at bitdance.com>wrote:> Also notice that using a list with shell=True is using the API> incorrectly.  It wouldn't even work on Linux, so that torpedoes> the cross-platform concern already :)>> This kind of confusion is why I openedhttp://bugs.python.org/issue7839.I thought exactly about that. Usually separate arguments are used to avoidproblems with escaping of quotes and other stuff.I'd deprecate subprocess and split it into separate modules. One is aboutshell execution and another one is for secure process control.shell execution module then could build on top of process control and beinsecure by design.-------------- next part --------------An HTML attachment was scrubbed...URL: <http://mail.python.org/pipermail/python-dev/attachments/20140612/28e4a9eb/attachment.html>


More information about the Python-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp