[issue1366] popen spawned process may not write to stdout under windows

2007-11-08 Thread Patrick Mézard
Patrick Mézard added the comment: pythonmeister: I never expected stderr to be redirected, just *all stdout* to be captured. But... gagenellina: you are completely right about the failure. Still, this issue happened with a real world application written in C, and redirecting manually stderr to

[issue1366] popen spawned process may not write to stdout under windows

2007-10-31 Thread Patrick Mézard
New submission from Patrick Mézard: Let child.py be: """ import sys sys.stdout.write('1:stdout\n') sys.stdout.flush() sys.stderr.write('2:stderr\n') sys.stderr.flush() sys.stdout.write('3:stdout\n') sys.stdout.flush() """ and parent.