diff options
| author | leochanj105 <leochanj@live.unc.edu> | 2020-10-24 02:47:38 -0400 |
|---|---|---|
| committer | leochanj105 <leochanj@live.unc.edu> | 2020-10-24 02:47:38 -0400 |
| commit | 450ce6915597da9f06442be6cc3235b53f30d59c (patch) | |
| tree | fcf5601c8d1a2fced18e5da92927a23952b96101 /kill.py | |
| parent | 063497e1c39be585914dc2e69445313632530de6 (diff) | |
| parent | e0c5691110f38f63d1955a711fc7f786333bcaad (diff) | |
wip
Diffstat (limited to 'kill.py')
| -rw-r--r-- | kill.py | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -0,0 +1,5 @@ | |||
| 1 | import os | ||
| 2 | |||
| 3 | with open("./pids.txt", "r") as f: | ||
| 4 | for line in f: | ||
| 5 | os.system("sudo kill " + line) | ||
