Martin <gzl...@googlemail.com> added the comment: Removing the quotes rebreaks the case where tmppath contains a space.
Instead, either: * Call subwcrev.exe directly without going through COMSPEC: switch 'system' to 'CreateProcess'. * More quotes! Change `"A" .. "B"` to `""A" .. "B""` which when it hits case 2 from what Amuary was quoting, does what's intended. """ 1. If all of the following conditions are met... """ ... they aren't... """ 2. Otherwise, old behavior is to see if the first character is a quote character and if so, strip the leading character and remove the last quote character on the command line, preserving any text after the last quote character. """ ---------- nosy: +gz _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11034> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com