Antonio wrote:
>> Now I need to think about how to fix this reliably without ignoring
>> SIGPIPE for commands that do read from their standard input

Would it make sense to take that "SIGPIPE" as meaning:
  * Ok - it's done reading.  That's cool.  Close that fd.
  * Now let's wait around until that process exits,
    or until we receive a SIGINT or perhaps similar?

-- 
Paul Jackson
[email protected]

Reply via email to