bug-bash
[Top][All Lists]
Advanced

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

Fw: trap behaviour different depending on stdio redirection?


From: Charles Smith
Subject: Fw: trap behaviour different depending on stdio redirection?
Date: Wed, 13 Mar 2013 08:38:24 -0700 (PDT)

From: Andreas Schwab <schwab@linux-m68k.org>


>> $ echo $?
>> 130

>This is the exit code of the *tee process*, which died of signal 2 before
>it could receive the rest of the output through the pipe.  If you don't
>redirect stderr you will see what the shell executed after the pipe was
>broken.


Ah.  That was my mistake.  I thought it was coming from the killing process, 
itself dying.  Which it's not supposed to do.


Thank you. 



reply via email to

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