[issue5808] Subprocess.getstatusoutput Fails Executing 'dir' Command on Windows

2012-08-19 Thread R. David Murray
Changes by R. David Murray : -- superseder: -> subprocess.getoutput fails on win32 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue5808] Subprocess.getstatusoutput Fails Executing 'dir' Command on Windows

2010-07-16 Thread Matthieu Labbé
Matthieu Labbé added the comment: I think this is a bug: The doc says "Availability: UNIX." but it is *available* under Windows and gives an unexpected error message. I see several way to fix this: 1) Fix the doc: "Supported only on UNIX. Behavior on other platforms is undefined." 2) Make sub

[issue5808] Subprocess.getstatusoutput Fails Executing 'dir' Command on Windows

2009-07-28 Thread sorin
sorin added the comment: If I made a patch that will raise an error if you include commands module under Windows will you include it - this will safe others time. -- ___ Python tracker _

[issue5808] Subprocess.getstatusoutput Fails Executing 'dir' Command on Windows

2009-07-28 Thread Senthil
Senthil added the comment: sorin: You meant the commands module, correct? It is well documented in the commands reference: http://docs.python.org/library/commands.html * It is applicable to unix only. * the getstatusoutput is moved to subprocess in 3x. -- nosy: +orsenthil ___

[issue5808] Subprocess.getstatusoutput Fails Executing 'dir' Command on Windows

2009-07-28 Thread sorin
sorin added the comment: Also the same issue does apply for command.getstatusoutput in Python 2.6. Maybe this bug should be reopened and solved by adding a platform check in the module. Also the documentation does not specify what would be the right multiplatform alternative. Anyway, the curre

[issue5808] Subprocess.getstatusoutput Fails Executing 'dir' Command on Windows

2009-04-21 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> invalid ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue5808] Subprocess.getstatusoutput Fails Executing 'dir' Command on Windows

2009-04-21 Thread Lawrence Allan Jones
Lawrence Allan Jones added the comment: Oops: user error. The manual states that subprocess.getstatusoutput() is only open under Unix. Somehow :) I missed this note. Sorry for wasting bandwidth. -- status: open -> closed ___ Python tracker

[issue5808] Subprocess.getstatusoutput Fails Executing 'dir' Command on Windows

2009-04-21 Thread Lawrence Allan Jones
New submission from Lawrence Allan Jones : When attempting to use the subprocess.getstatusoutput() function on Windows, I noticed an unusual error message: "'{' is not recognized as an internal or external command, operable program or batch file." When the output contained this message, the sta