What happens when `read -p` runs in a background Bash script?
If a Bash script contains `read -p "Press [Enter] key to continue..."` and the script is started in the background, what happens to the `read` command? Does the…
If a Bash script contains `read -p "Press [Enter] key to continue..."` and the script is started in the background, what happens to the `read` command? Does the…
Hey everyone! I'm currently working with GDB, and I'm trying to send commands directly to it through stdin. I've been experimenting with the following command to send 'i…