[issue1193] os.system() encoding bug on Windows
Amaury Forgeot d'Arc
report at bugs.python.org
Tue Nov 20 03:09:29 CET 2007
Amaury Forgeot d'Arc added the comment:
Note that the final .encode("cp936") is now invalid: os.system accepts
unicode strings, not bytes:
>>> os.system(("echo " + sys.stdin.readline().rstrip("\n")))
Corrected as r59065.
----------
resolution: -> fixed
status: open -> closed
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1193>
__________________________________
More information about the Python-bugs-list
mailing list