Message142475
The following program hangs on Debian, Python 2.6.6:
import subprocess
proc1 = subprocess.Popen(['cat'], stdin=subprocess.PIPE)
proc2 = subprocess.Popen(['cat'], stdin=subprocess.PIPE)
proc1.stdin.close()
proc1.wait()
Changing the last two lines to:
proc2.stdin.close()
proc2.wait()
Doesn't hang. The guys at #python-dev confirmed the same happens on 2.7 but not on 3.x. |
|
Date |
User |
Action |
Args |
2011-08-19 16:31:02 | idank | set | recipients:
+ idank |
2011-08-19 16:31:02 | idank | set | messageid: <1313771462.57.0.438793303014.issue12786@psf.upfronthosting.co.za> |
2011-08-19 16:31:01 | idank | link | issue12786 messages |
2011-08-19 16:31:01 | idank | create | |
|