[issue7936] sys.argv contains only scriptname
Sworddragon
report at bugs.python.org
Mon Jun 14 13:22:40 CEST 2010
Sworddragon <sworddragon2 at aol.com> added the comment:
Now I found the real solution (and don't forgot to set it to Python 3 back). I have searched in the registry for python.exe to look how Python 2 is doing this. I sawed a key that looks dissimilar to the others before. It is the key HKEY_USERS\S-1-5-21-1078081533-682003330-1801674531-1003\Software\Classes\Applications\python.exe\shell\open\command which have the Standard value of "E:\Python31\python.exe" "%1". I set it to "E:\Python31\python.exe" "%1" %* and it worked.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7936>
_______________________________________
More information about the Python-bugs-list
mailing list