Re: subprocess.Popen deadlocks

2010-11-12 Thread eraserix
On Nov 12, 6:58 am, Lawrence D'Oliveiro wrote: > In message > <2cf9a225-7d1c-4490-8a62-807e79bdd...@n30g2000vbb.googlegroups.com>, > > Why not skip all the threads and just spawn all the processes in your main > loop? Then after getting the SIGINT, send that signal to all your processes, > and the

Re: subprocess.Popen deadlocks

2010-11-11 Thread Lawrence D'Oliveiro
In message <2cf9a225-7d1c-4490-8a62-807e79bdd...@n30g2000vbb.googlegroups.com>, eraserix wrote: > I try to control several process from a python script. Each process is > started from a thread, the threads just wait() for the child to exit > and can then be joined. Main waits for SIGINT. After i