[issue6208] path separator output ignores shell's path separator: / instead of \

2013-11-14 Thread Laurent Birtz
Laurent Birtz added the comment: Thank you for the clarifications on the usage of cmd.exe and shell=True. I tend to forget that the shell support in subprocess isn't just about UNIX. The point of running msys is getting programs to work as if they were in a limited UNIX environment wi

[issue6208] path separator output ignores shell's path separator: / instead of \

2013-11-13 Thread Laurent Birtz
Laurent Birtz added the comment: I agree with the "no magic bullet" point and that Microsoft is fully to blame for the situation. About the catalogue of Windows APIs that accept slashes. I've read in various places that the only problematic case is the legacy shell API.

[issue6208] path separator output ignores shell's path separator: / instead of \

2013-11-13 Thread Laurent Birtz
Laurent Birtz added the comment: First, I apologize for my overly harsh tone. A dismissive comment above struck a nerve but that doesn't excuse it. @Lawrence: from my perspective it is a bug: the Python interpreter doesn't handle paths correctly on MinGW as I'd expect. As

[issue6208] path separator output ignores shell's path separator: / instead of \

2013-11-12 Thread Laurent Birtz
Laurent Birtz added the comment: In my opinion, the decision to cross your arms and pretend there is no issue is unprofessional. Summary of your arguments: - It's Microsoft's fault. - Windows accepts backslashes anyway. - Shell detection is difficult. - It's a complex issue.