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: Bug where SIGINT trap handler isn't called

2015-07-25 Thread Patrick Plagwitz
On 22/07/15 04:01, Chet Ramey wrote: > On 7/16/15 12:05 AM, Patrick Plagwitz wrote: > >>> This is another case of the scenario most recently described in >>> >>> http://lists.gnu.org/archive/html/bug-bash/2014-03/msg00108.html >>> >>> In this case, python appears to catch the SIGINT (it looks like

Re: Bug where SIGINT trap handler isn't called

2015-07-21 Thread Chet Ramey
On 7/16/15 12:05 AM, Patrick Plagwitz wrote: >> This is another case of the scenario most recently described in >> >> http://lists.gnu.org/archive/html/bug-bash/2014-03/msg00108.html >> >> In this case, python appears to catch the SIGINT (it looks like a >> KeyboardInterrupt exception), print the

Re: Bug where SIGINT trap handler isn't called

2015-07-15 Thread Patrick Plagwitz
On 30/06/15 02:27, Chet Ramey wrote: > On 6/29/15 3:41 PM, Patrick Plagwitz wrote: > >> Bash Version: 4.3 >> Patch Level: 39 >> Release Status: release >> >> Description: >> There's a bug that happens when waiting for a child process to complete >> (via wait_for in jobs.c) that isn't part of a job

Re: Bug where SIGINT trap handler isn't called

2015-06-29 Thread Chet Ramey
On 6/29/15 3:41 PM, Patrick Plagwitz wrote: > Bash Version: 4.3 > Patch Level: 39 > Release Status: release > > Description: > There's a bug that happens when waiting for a child process to complete > (via wait_for in jobs.c) that isn't part of a job, like command > substitution subshells. If a S