[issue45432] sys.argv is processed strangely under Windows

2021-10-11 Thread Paul
Paul added the comment: oh ok. thx -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45432] sys.argv is processed strangely under Windows

2021-10-11 Thread Zachary Ware
Zachary Ware 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

[issue45432] sys.argv is processed strangely under Windows

2021-10-11 Thread Paul
New submission from Paul : here is my test file: ''' import sys print(sys.argv) ''' when I then try 'python test.py ^test' the ^ character is stripped away, this doesn't happen on Linux. This also doesn't happen if I put ^test in quotes (only ") the ' quotes don't work --