Daniel Bump wrote:
Back to Problem 2 from my previous message.
I have an email from David referring to man IPC::Open2 on the dangers of open2. But I can't say I really understand why this deadlock occurs or how it can be avoided.
Perhaps this has to do with buffering on the file descriptors. setbuf(FILE *f, NULL) switches off buffering for f.
Teun