![](https://secure.gravatar.com/avatar/20f57595c7d4893e8ab834e6f69fc449.jpg?s=120&d=mm&r=g)
July 5, 2005
12:40 a.m.
Thomas Heller:
Not only that, all the other flags like -O and -E are also in sys.argvu but not in sys.argv.
OK, new patch fixes these and the "-c" issue.
Those are nearly obsoleted by the subprocess module (although I do not know how that handles unicode.
z = subprocess.Popen(u"cmd /c echo \u0417") Traceback (most recent call last): File "<stdin>", line 1, in ? File "c:\zed\python\dist\src\lib\subprocess.py", line 600, in __init__ errread, errwrite) File "c:\zed\python\dist\src\lib\subprocess.py", line 791, in _execute_child startupinfo) UnicodeEncodeError: 'ascii' codec can't encode character u'\u0417' in
It breaks. The argspec is zzOOiiOzO:CreateProcess. position 12: ordinal not in range(128) Neil