aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/killem.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/killem.sh')
-rwxr-xr-xbin/killem.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/bin/killem.sh b/bin/killem.sh
new file mode 100755
index 0000000..7b4d3a2
--- /dev/null
+++ b/bin/killem.sh
@@ -0,0 +1,21 @@
1#!/bin/bash
2
3# TODO - Deal with the valgrind left overs, by scanning the output of the following lines, picking out the PIDs, then "kill -KILL pid"
4ps aux | grep love
5ps aux | grep LuaSL
6
7killall -TERM love
8sleep 1
9killall -TERM LuaSL
10sleep 1
11
12ps aux | grep love
13ps aux | grep LuaSL
14
15killall -KILL love
16sleep 1
17killall -KILL LuaSL
18sleep 1
19
20ps aux | grep love
21ps aux | grep LuaSL