The trap tag has no wiki summary.
1
vote
2answers
816 views
how to trap a suspend a resume from a bash script
I have a bash script (on osx) running continuously, it currently traps and handles a terminate like so
trap onshutdown TERM
how can I make trap also handle suspend/resume like
trap onsuspend ?
...