bug-bash
[Top][All Lists]
Advanced

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

Re: Getting rid of "Terminated" message thanks to SIGINT


From: Chet Ramey
Subject: Re: Getting rid of "Terminated" message thanks to SIGINT
Date: Mon, 31 Jan 2011 09:59:59 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

On 1/31/11 4:57 AM, Marc Herbert wrote:
> Le 30/01/2011 00:12, Chet Ramey a écrit :
>> Is it a problem?  Bash prints messages about signal-terminated processes --
> 
>> Most people want to know when their jobs die
> 
> ...except when they explicitly kill them.

Then maybe the answer is to suppress the message when a process dies
due to SIGTERM, as well as SIGINT.

>> at least those that don't die due to SIGINT or SIGPIPE -- when the
>> shell is not interactive. 
> 
> Wow! I wish I had known this very useful SIGINT trick earlier. Is it
> in a FAQ somewhere?

No.  It's an IAQ, at best an OAQ.

Chet
> 
> 
> 


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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