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

Florian Bruhin me at the-compiler.org
Thu Jun 12 06:34:59 CEST 2014


As it's been said, the whole point of shell=True is to be able to use shell features, so ^ being escaped automatically just would be... broken. How would I escape > then, for example ;)

You basically have two options:

Florian

-- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG 0xFD55A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://mail.python.org/pipermail/python-dev/attachments/20140612/a6a9dd2c/attachment.sig>



More information about the Python-Dev mailing list