Closed jpmvferreira closed 1 year ago
Running the script in the background does the job.
./roll.sh &
You can also use while loop so that even when the script gets closed, it will run again. It will run from start but it will be annoying.
Bash
while true; do ./roll.sh; done
Fish
while true; ./roll.sh; done
Another way is to create a C program run the script from there and ignore all the signals.
Ah, I'm not sure how I manage to forget that you can run the thing in the background... Thanks! I wasn't aware that you could catch the kill signals in C, thanks for the additional info.
Hi there, this is not an issue of the script per say I imagine, but I'm trying to setup a more annoying script. I do recognize that injection is brilliant, however, you can always ctrl+c it. Therefore I decided to find a way to block all kill signals.
My solution is therefore as follows:
However, when I do ctrl+c and rickroll is running, the audio cuts off, but, fortunately, not the video.
I ask all of you, is there a way to make this script even more annoying by not allowing the user to cancel it as easily?