On 3/6/20 1:57 AM, Chao Song wrote:
> Hi, Bash Developers,
>
> I found that bash cannot switch background/foreground for aplay.
>
> To reproduce:
>
> 1. run aplay: aplay -Dhw:0,0 -f dat -i -c2 -vvv ./somewave.wav
>
> 2. press CTRL + Z to switch to background
>
> 3. press fg to switch to foreground. [Failed at this step, seems aplay
> not in foreground, because output for aplay is not resumed.]
This is shaky logic.
>
> Not sure if this is a bug of aplay or bash, could you please to take a
> look at bash first?
Is any other process, including bash, getting read access to the terminal?
If not, how can this be a bash bug?
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/