Re: [Exim] [OT] Detecting closed exim -bS pipe in Perl

Pàgina inicial
Delete this message
Reply to this message
Autor: Sheldon Hearn
Data:  
A: Philip Hazel
CC: exim-users
Assumpte: Re: [Exim] [OT] Detecting closed exim -bS pipe in Perl

On Fri, 31 Aug 2001 13:55:36 +0100, Philip Hazel wrote:

> From "Perl in a Nutshell" (O'Reilly):
>
> "Closing a pipe will wait for the process executing on the pipe to
> complete, and it prevents the script from exiting before the pipeline
> is finished. Closing a pipe explicitly also puts the status value of
> the comand executing on the pipe into $?."


How does that help? I don't want to close the pipe. The Exim process
is terminating and I need a way to catch this. :-)

I think I'm trying to be too careful. I should just trust that I'll
never send Exim anything that chokes it. :-(

Ciao,
Sheldon.