Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11277

Re: exec doesn't restore terminal signals

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: exec doesn't restore terminal signals
Date 2015-07-30 11:14 -0400
Message-ID <mailman.7651.1438269312.904.bug-bash@gnu.org> (permalink)
References <mvmbnew8veh.fsf@hawking.suse.de>

Show all headers | View raw


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/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: exec doesn't restore terminal signals Chet Ramey <chet.ramey@case.edu> - 2015-07-30 11:14 -0400

csiph-web