[issue45432] sys.argv is processed strangely under Windows

Zachary Ware report at bugs.python.org
Mon Oct 11 11:49:15 EDT 2021


Zachary Ware <zachary.ware at gmail.com> added the comment:

This is Windows behavior, not Python; ^ is an escape character in cmd.exe.  Try for example `echo test ^| python -c "print('hello world')"` with and without the ^ character.

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45432>
_______________________________________


More information about the Python-bugs-list mailing list