[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bash-bug
Subject:    Re: exec doesn't restore terminal signals
From:       Chet Ramey <chet.ramey () case ! edu>
Date:       2015-07-30 15:14:51
Message-ID: 55BA3F6B.2040007 () case ! edu
[Download RAW message or body]

On 7/28/15 5:48 AM, Andreas Schwab wrote:
> Running exec in an interactive shell does not restore the terminal
> signals TSTP, TTIN, TTOU, causing them to be ignored in the new command.
> 
> $ trap
> $ exec bash
> $ trap
> trap -- '' SIGTSTP
> trap -- '' SIGTTIN
> trap -- '' SIGTTOU

Thanks for the report.  This will be fixed in the next release of bash.

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/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic