[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wait on procsub in EXIT trap
From: |
Chet Ramey |
Subject: |
Re: wait on procsub in EXIT trap |
Date: |
Tue, 21 Mar 2023 15:56:43 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 |
On 3/21/23 3:53 PM, Grisha Levit wrote:
So to wait for a procsub after receiving a terminating signal, one
must do so in a trap for the signal itself and not in an EXIT trap.
Yes, that would probably work.
--
``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/