Message255833
The error() function in PC/launcher.c should call exit(rc) instead of ExitProcess(rc). This allows the CRT to terminate properly and flush the stderr FILE stream. With this change it works as expected:
>>> import subprocess
>>> p = subprocess.Popen(r'amd64\py_d -3.7', stderr=subprocess.PIPE)
>>> p.stderr.read()
b'Requested Python version (3.7) not installed\r\n' |
|
Date |
User |
Action |
Args |
2015-12-03 18:50:47 | eryksun | set | recipients:
+ eryksun, paul.moore, tim.golden, zach.ware, steve.dower, wolma |
2015-12-03 18:50:47 | eryksun | set | messageid: <1449168647.28.0.809672352969.issue25789@psf.upfronthosting.co.za> |
2015-12-03 18:50:47 | eryksun | link | issue25789 messages |
2015-12-03 18:50:47 | eryksun | create | |
|