I'm searching (am I?) for a piece of code that quits immediately - in an absolutely unconventional way.
This means not: System.exit((int) 'A'); //java
It might mean: (python)
#!/bin/python3 # unix only, might work on windows # note: kills ALL RUNNING python 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: Quitting by throwing exceptions won't be accepted any more!
Note: This is a code-trolling question. Please do not take the question and/or answers seriously. More information here.