[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

--
components: Windows
messages: 403656
nosy: paul.moore, paulhippler21, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: sys.argv is processed strangely under Windows
type: behavior
versions: Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com