Re: Bug where SIGINT trap handler isn't called

2015-07-30 Thread Chet Ramey
On 7/25/15 9:08 PM, Patrick Plagwitz wrote: > I think command substitution has two issues. Those are because > set_job_and_cleanup isn't called for the single child made for comsub. > (1) The bug that was fixed in the discussion you linked is still in for > comsub waits: > $ bash -c 'while [ "$(ex

Re: exec doesn't restore terminal signals

2015-07-30 Thread Chet Ramey
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