Re: Script shell suspends after executing second child process

2015-12-05 Thread konsolebox
On Sun, Nov 15, 2015 at 2:25 PM, konsolebox wrote: > On Sun, Nov 15, 2015 at 10:34 AM, Chet Ramey wrote: >> On 11/14/15 6:02 PM, Chet Ramey wrote: >> >> Here, try this patch. It sort of splits the difference along the lines of >> your suggestion, and it behaves correctly for the case that inspir

Re: Script shell suspends after executing second child process

2015-11-15 Thread konsolebox
On Sun, Nov 15, 2015 at 10:34 AM, Chet Ramey wrote: > On 11/14/15 6:02 PM, Chet Ramey wrote: >> On 11/14/15 12:39 PM, konsolebox wrote: >>> On Fri, Nov 13, 2015 at 4:15 AM, Chet Ramey wrote: On 11/12/15 5:27 AM, konsolebox wrote: > My interactive (using `read`) Bash-script application st

Re: Script shell suspends after executing second child process

2015-11-15 Thread Chet Ramey
On 11/14/15 6:02 PM, Chet Ramey wrote: > On 11/14/15 12:39 PM, konsolebox wrote: >> On Fri, Nov 13, 2015 at 4:15 AM, Chet Ramey wrote: >>> On 11/12/15 5:27 AM, konsolebox wrote: My interactive (using `read`) Bash-script application still suspends itself after executing second instan

Re: Script shell suspends after executing second child process

2015-11-15 Thread Chet Ramey
On 11/14/15 12:39 PM, konsolebox wrote: > On Fri, Nov 13, 2015 at 4:15 AM, Chet Ramey wrote: >> On 11/12/15 5:27 AM, konsolebox wrote: >>> My interactive (using `read`) Bash-script application still suspends >>> itself after >>> executing second instance of a player. I've only seen this happen in

Re: Script shell suspends after executing second child process

2015-11-15 Thread konsolebox
On Fri, Nov 13, 2015 at 4:15 AM, Chet Ramey wrote: > On 11/12/15 5:27 AM, konsolebox wrote: >> My interactive (using `read`) Bash-script application still suspends >> itself after >> executing second instance of a player. I've only seen this happen in >> the newest development version of Bash. >

Re: Script shell suspends after executing second child process

2015-11-12 Thread Chet Ramey
On 11/12/15 5:27 AM, konsolebox wrote: > My interactive (using `read`) Bash-script application still suspends > itself after > executing second instance of a player. I've only seen this happen in > the newest development version of Bash. You should be able to attach to the stopped process with gd

Script shell suspends after executing second child process

2015-11-12 Thread konsolebox
My interactive (using `read`) Bash-script application still suspends itself after executing second instance of a player. I've only seen this happen in the newest development version of Bash. I tried to debug calls to functions in shtty.c and changes in attributes made through them but I haven't s