Chris January wrote: > Alternatively, do it the other way round, with the child occasionally > writing to the pipe and the parent draining it. The child will get > SIGPIPE when the parent dies.
This sounds great! I have already a pipe between parent and child processes for other purposes and only need to setup a signal handler for SIGPIPE. Thanks Michael -- Michael Wiedmann Software Engineer Aastra DeTeWe GmbH 10997 Berlin Germany -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/