Update 'killwine.sh'
This commit is contained in:
parent
b8dc68524a
commit
2ad7ef62df
@ -1,7 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#kill wineserver
|
#terminate wineserver
|
||||||
wineserver -k;
|
wineserver -k;
|
||||||
killall -9 wine wineserver;
|
|
||||||
#kill every exe process
|
#kill every exe process
|
||||||
for i in `ps ax|grep -E "\.exe"|awk '{print $1 }'`;do kill -9 $i;done;
|
for i in `ps ax|grep -E "\.exe"|awk '{print $1 }'`;do kill -9 $i;done;
|
||||||
|
#kill wineserver if it didn't terminate
|
||||||
|
#(might corrupt Wine's registry if wineserver was still running)
|
||||||
|
sleep 1
|
||||||
|
killall -9 wine wineserver;
|
||||||
echo 'killed wine'
|
echo 'killed wine'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user