bash cannot switch background/foreground for aplay
From:
Chao Song
Subject:
bash cannot switch background/foreground for aplay
Date:
Fri, 6 Mar 2020 14:57:44 +0800
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0
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.]
Not sure if this is a bug of aplay or bash, could you please to take
a look at bash first?