[issue10394] subprocess Popen deadlock

2010-11-16 Thread Christoph Mathys
Christoph Mathys added the comment: Yes, it's the correct file. Sorry, I'm making quite a mess in my description about program: The "attached program" is deadlock.py. Program One and Two are python scripts executed using "python -c", the code is inside deadlo

[issue10394] subprocess Popen deadlock

2010-11-12 Thread Christoph Mathys
New submission from Christoph Mathys : The ctor of subprocess.Popen has a race condition, which the attached program should demonstrate (on my computer a few seconds are enough). Program One sleeps for 2 seconds, Program Two exits right after execve. Now I would expect Program Two to take a