Message145735
subprocess.getoutput does not currently work at all on Windows.
So it's not necessary to maintain backwards compatibility.
The following fix works for me on WinXP/Python 3.2.2.
Replace
pipe = os.popen('{ ' + cmd + '; } 2>&1', 'r') # line 613 of subprocess.py
with
if mswindows:
pipe = os.popen(cmd + ' 2>&1', 'r') # Windows does not support { }
else:
pipe = os.popen('{ ' + cmd + '; } 2>&1', 'r') |
|
Date |
User |
Action |
Args |
2011-10-17 17:22:50 | bpoaugust | set | recipients:
+ bpoaugust, vstinner, ned.deily, eric.araujo, r.david.murray, brian.curtin, jldm |
2011-10-17 17:22:49 | bpoaugust | set | messageid: <1318872169.89.0.853680110481.issue10197@psf.upfronthosting.co.za> |
2011-10-17 17:22:49 | bpoaugust | link | issue10197 messages |
2011-10-17 17:22:49 | bpoaugust | create | |
|