[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Script shell suspends after executing second child process
From: |
Chet Ramey |
Subject: |
Re: Script shell suspends after executing second child process |
Date: |
Thu, 12 Nov 2015 15:15:27 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
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 gdb and get a
stack traceback, at least to the point where it's clear whether it's
stopping on an attempt to set the terminal attributes or on a read().
According to the change log, the last time I made a change that might
be relevant to this problem was April 23. You might try getting the
version immediately preceding that one and seeing whether or not that
version has the problem.
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/