From: Robert Klemme Date: 2006-11-02T01:30:13+09:00 Subject: Re: Nonblocking IO read Tom Pollard wrote: > Anyway, you would only need nonblocking IO if you wanted to read bits of > the stderr stream before the command exited, but that doesn't sound like > what you're want. Actually this is not correct: if there is a lot written to stderr then you need to read that concurrently. If you do not do that then the process will block on some stderr write operation that fills up the pipe and you get a deadlock because your code waits for process termination. Kind regards robert