Issue1514

classification
Title: [Windows] Arguments missing from command-line
Type: behaviour Severity: normal
Components: Core Versions: Jython 2.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: fwierzbicki, jaraco, otmarhumbel, pjenvey
Priority: normal Keywords:

Created on 2009-12-03.21:55:08 by jaraco, last changed 2013-02-20.03:07:51 by fwierzbicki.

Messages
msg5342 (view) Author: Jason R. Coombs (jaraco) Date: 2009-12-03.21:55:08
Jython seems to be losing some command-line arguments, such as the
question mark. I'm using Windows 7. The problem occurs under Windows
Powershell as well as CMD.exe.

PS C:\> jython -V
Jython 2.5.1
PS C:\> jython -c "import sys; print sys.argv" "0 15 10 ? * 6#3,4#3"
['-c', '0 15 10 ']

It works as expected on CPython 2.6.4

PS C:\> python -c "import sys; print sys.argv" "0 15 10 ? * 6#3,4#3"
['-c', '0 15 10 ? * 6#3,4#3']
msg5343 (view) Author: Philip Jenvey (pjenvey) Date: 2009-12-03.22:10:47
This is most likely the same problem as #1356, in that Windows .bat files 
(and our .bat based argv handling) have argv parsing quirks compared to 
native executables. Fixing #1491 is the ideal solution
History
Date User Action Args
2013-02-20 03:07:51fwierzbickisetpriority: normal
nosy: + fwierzbicki
versions: + Jython 2.5, - 2.5.1
2009-12-03 22:10:47pjenveysetnosy: + pjenvey, otmarhumbel
messages: + msg5343
title: Arguments missing from command-line -> [Windows] Arguments missing from command-line
2009-12-03 21:55:08jaracocreate