aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/killem.sh
blob: 262d5d2da80fdf38368f2b1ab5f137b72b75b3d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

# TODO - Deal with the valgrind left overs, by scanning the output of the following lines, pciking out the PIDs, then "kill -KILL pid"
ps aux | grep love
ps aux | grep LuaSL

killall -TERM love
sleep 1
killall -TERM LuaSL
sleep 1

ps aux | grep love
ps aux | grep LuaSL

killall -KILL love
sleep 1
killall -KILL LuaSL
sleep 1

ps aux | grep love
ps aux | grep LuaSL