[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:
http://old.nabble.com/bizarre-trap-behavior-while-reading-a-file-tp31242064p31259516.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.
- bizarre trap behavior while reading a file, tytus64, 2011/03/25
- Re: bizarre trap behavior while reading a file, Chet Ramey, 2011/03/25
- Re: bizarre trap behavior while reading a file, tytus64, 2011/03/28
- Re: bizarre trap behavior while reading a file, Chet Ramey, 2011/03/28
- Re: bizarre trap behavior while reading a file, tytus64, 2011/03/28
- Re: bizarre trap behavior while reading a file, Greg Wooledge, 2011/03/28
- Re: bizarre trap behavior while reading a file, Chet Ramey, 2011/03/28
- Re: bizarre trap behavior while reading a file,
tytus64 <=
- Re: bizarre trap behavior while reading a file, Chet Ramey, 2011/03/28
- Re: bizarre trap behavior while reading a file, tytus64, 2011/03/28
- Re: bizarre trap behavior while reading a file, Chet Ramey, 2011/03/28
- Re: bizarre trap behavior while reading a file, tytus64, 2011/03/29
- Re: bizarre trap behavior while reading a file, Mart Frauenlob, 2011/03/29
- Re: bizarre trap behavior while reading a file, Steven W. Orr, 2011/03/29
- Re: bizarre trap behavior while reading a file, Greg Wooledge, 2011/03/29
Re: bizarre trap behavior while reading a file, Greg Wooledge, 2011/03/28