I have to return exit status 140 exit status when the program is killed, but I don’t know how…
I did so many searches but all I got is when a third party tries to break the program, it will send a signal to the program, then you can catch it and return the status that you want
New contributor
Saul Goodman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.