[issue6208] path separator output ignores shell's path separator: / instead of \
ThurnerRupert
report at bugs.python.org
Sun Jun 14 19:51:43 CEST 2009
ThurnerRupert <rupert.thurner at credit-suisse.com> added the comment:
the parent process would be "sh.exe" in the msys case, contrary to the
windows standard cmd.exe, explorer.exe, system, system idle
process, ...
an example is the mercurial "status" command, see
http://selenic.com/repo/index.cgi/hg/file/8bf6eb68ddaf/mercurial/comman
ds.py#l2752
which uses
http://selenic.com/repo/index.cgi/hg/file/8bf6eb68ddaf/mercurial/util.p
y#l210 (pathto, ), and normpath = os.path.normcase(path).
which does at the end:
sys.stdout.write(str(a))
when string the string goes out on stdout or stderr it is not known
any more it was a file path. hmm.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6208>
_______________________________________
More information about the Python-bugs-list
mailing list