help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] When pipes fail (and when not)


From: Chet Ramey
Subject: Re: [Help-bash] When pipes fail (and when not)
Date: Tue, 27 Nov 2018 10:03:57 -0800
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 11/27/18 5:32 AM, Paul Wagner wrote:
> Dear Bob,
> 
> a really really huge Thank You for the effort you put into this explanation!
> 
>> Therefore I conclude that your Android environment is mistakenly
>> installing a SIG_IGN handler for SIGPIPE in the environment.
> 
> With that as a working hypothesis, could I install my own SIGPIPE handler
> then and kill the subshell tee runs in?  

If bash starts up with a signal ignored, you can't install a trap for it or
reset its disposition to SIG_DFL. You have to fix the problem at its root.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

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