I'm searching (am I?) for a piece of code that quits immediately - in an absolutely unconventional way.
This meansdoes not mean: System.exit((int) 'A'); //java (Java).
It might mean: (python)
#!/usr/bin/python3 # unix only, might work onenv windowspython3 # noteNOTE: This kills ALL RUNNING pythonPython processes. Be careful /!\ def exit(): import os os.system("killall python3") # Windows addon os.system("taskkill /im python.exe /f") # or whatever filename python@windows has exit() Most upvoted answer wins! All languages, all architectures.
EDIT:Edit: Quitting by throwing exceptions won't be accepted any more!