[issue27406] subprocess.Popen() hangs in multi-threaded code

2016-06-28 Thread R. David Murray
R. David Murray added the comment: This is a duplicate of issue 20318. The advice is to use subprocess32. -- nosy: +r.david.murray resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> subprocess.Popen can hang in threaded applications in Python 2 ___

[issue27406] subprocess.Popen() hangs in multi-threaded code

2016-06-28 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson: On a quad-core raspberrypi, i have experienced that subprocess.Popen() sometimes does not return immediatelly, but only much later, when an unrelated process has exited. Debugging the issue, I find the parent process hanging in # Wait