summaryrefslogtreecommitdiffstats
path: root/kill.py
diff options
context:
space:
mode:
authorleochanj105 <leochanj@live.unc.edu>2020-10-24 02:47:38 -0400
committerleochanj105 <leochanj@live.unc.edu>2020-10-24 02:47:38 -0400
commit450ce6915597da9f06442be6cc3235b53f30d59c (patch)
treefcf5601c8d1a2fced18e5da92927a23952b96101 /kill.py
parent063497e1c39be585914dc2e69445313632530de6 (diff)
parente0c5691110f38f63d1955a711fc7f786333bcaad (diff)
wip
Diffstat (limited to 'kill.py')
-rw-r--r--kill.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/kill.py b/kill.py
new file mode 100644
index 0000000..acb236e
--- /dev/null
+++ b/kill.py
@@ -0,0 +1,5 @@
1import os
2
3with open("./pids.txt", "r") as f:
4 for line in f:
5 os.system("sudo kill " + line)