None of these are kill -9
or anything close. What's the answer?
import sys
import os
try:
exit()
sys.exit()
os._exit()
quit()
except:
print("THIS SHOULD NOT RUN")
It's ridiculous of the Python language if any try-catch wrapping of an abort()
or anything like it prevent's it from being able to die.
That's not something that exists in any other language that I know. abort()
is an emergency safety measure.