help-bash
[Top][All Lists]
Advanced

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

Re: How does bash deal with signal?


From: Chet Ramey
Subject: Re: How does bash deal with signal?
Date: Tue, 6 Apr 2021 09:22:13 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.0

On 4/6/21 2:49 AM, Koichi Murase wrote:

The actual handling of signals is
mainly done in ``trap handlers'' (which Bash implements and are
invoked by Bash between the execution of shell commands).

For trapped signals, yes. Bash wants to catch other signals of interest
(e.g., SIGINT) and handles those during shell processing -- just not in
a signal handler.

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



reply via email to

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