I'm searching (am I?) for a piece of code that quits immediately - in an absolutely unconventional way.
This does not mean: System.exit((int) 'A');
(Java).
It might mean:
#!/usr/bin/env python3
# NOTE: This kills ALL RUNNING Python processes. Be careful!
def exit():
import os
os.system("killall python3")
# Windows addon
os.system("taskkill /im python.exe /f")
exit()
Most upvoted answer wins! All languages, all architectures.
Edit: Quitting by throwing exceptions won't be accepted any more!
exit()
, but still it's an implemented feature... \$\endgroup\$