[issue6457] subprocess.Popen.communicate can lose data from output/error streams when broken input pipe occures

2009-07-13 Thread Dariusz Walczak
Dariusz Walczak added the comment: Your patch works for me with one exception: On FreeBSD (python 2.6.1) OSError exception is raised by os.write instead of IOError exception (raised by self.stdin.write on Windows). The error code is same on both platforms

[issue6457] subprocess.Popen.communicate can lose data from output/error streams when broken input pipe occures

2009-07-10 Thread Dariusz Walczak
New submission from Dariusz Walczak : It's possible to lose data piped through standard output and/or error streams when large ammounts of data are transfered. Reproduction: 1) Process A spawns process B with all standard I/O pipes and transfers large ammount of data to it (100kB in my s