On which side of the pipe did you register a $SIG{PIPE} handler?
If the reader closes the pipe, the writer to a pipe gets a SIGPIPE; if the writer closes it, the reader gets EOF.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
In reply to Re: Detecting the close() of named pipes
by shmem
in thread Detecting the close() of named pipes
by jeffthewookiee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |