PDA

View Full Version : Potential bug with backgrounding processes



ecorp
2020-09-22, 15:23
Latest build of Kali - i think there may be a bug with back grounding processes. I'm using ZSH, but i can reproduce the issue using bash also.


ping 1.1.1.1

CTRL+Z

bg

the process is still backgrounded, but all output is being pushed to the active terminal's output. Then, you cant background it because ... its already backgrounded.

To work around this, if you do this


ping 1.1.1.1 > test.txt &
jobs
bg %1

this works



└─$ cat /etc/os-release
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2020.3"
VERSION_ID="2020.3"





Can anyone help me determine if this is expected behavior, or is this a potential bug?