aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/killem.sh
blob: 7b4d3a265dd126ef9b136e21d79fdc3669e550e2 (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, picking 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