Re: subprocesses and deadlocks

2006-08-06 Thread Simon Forman
[EMAIL PROTECTED] wrote: > Hi, > > there are many ways of solving the problem of finite buffer sizes when > talking to a subprocess. I'd usually suggest using select() but today I > was looking for a more readable/understandable way of doing this. Back > in 1997 Guido himself posted a very nice sol

subprocesses and deadlocks

2006-08-06 Thread [EMAIL PROTECTED]
Hi, there are many ways of solving the problem of finite buffer sizes when talking to a subprocess. I'd usually suggest using select() but today I was looking for a more readable/understandable way of doing this. Back in 1997 Guido himself posted a very nice solution, write your input to a tempora