[Python-Dev] subprocess shell=True on Windows doesn't escape ^ character (original) (raw)
Chris Angelico rosuav at gmail.com
Thu Jun 12 00:30:30 CEST 2014
- Previous message: [Python-Dev] subprocess shell=True on Windows doesn't escape ^ character
- Next message: [Python-Dev] subprocess shell=True on Windows doesn't escape ^ character
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Jun 12, 2014 at 7:58 AM, Ryan <rymg19 at gmail.com> wrote:
In all seriousness, to me this is obvious. When you pass a command to the shell, naturally, certain details are shell-specific.
-10000. Bad idea. Very bad idea. If you want the ^ to be escaped, do it yourself. Or better yet, don't pass shell=True.
Definitely the latter. Why pass shell=True when executing a single command? I don't get it.
ChrisA
- Previous message: [Python-Dev] subprocess shell=True on Windows doesn't escape ^ character
- Next message: [Python-Dev] subprocess shell=True on Windows doesn't escape ^ character
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]