Created
February 14, 2017 11:21
-
-
Save KPLauritzen/710305edb3ab2eb35237f9c82e6aae24 to your computer and use it in GitHub Desktop.
Kill random process with python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from subprocess import call | |
import random | |
while True: | |
try: | |
call(["kill", "-9", random.randint(0, 9999)] | |
except: | |
print("ayy lmao") | |
sleep(5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment