Morehouse, Ken wrote:
> The only thing I noticed with piping to a perl script is
> that when the script completes the whole
> tail -f <somefile> | somescript.pl ends.

That sounds like the standard behaviour on Unix -- when the reader end of a
pipe finishes, the writer end gets the signal SIGPIPE. If it doesn't catch
the signal and deal with it, the signal kills the process.

Don't you want the tail -f to stop when somescript.pl is done? What's the
point in writing to a pipe that no-one is reading any more?

Cheers,
Philip
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to