[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bizarre trap behavior while reading a file

From: tytus64
Subject: Re: bizarre trap behavior while reading a file
Date: Mon, 28 Mar 2011 08:39:01 -0700 (PDT)

Chet Ramey wrote:
> There is a bash process that is forked to execute the `while read ...'
> in the first pipeline loop.  It has to hang around the whole time, so it
> can run the while loop and exit with the correct status.  If you send it
> a SIGHUP with `killall bash', it will exit.

Thanks for all the answers. I think I understand the problem now. I wonder
though if there is any way to disable default HUP handling int the
subprocess executing the loop?
View this message in context: 
Sent from the Gnu - Bash mailing list archive at Nabble.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]