Update 'killwine.sh'

This commit is contained in:
sam.hadow 2023-05-23 02:26:01 +02:00
parent 6aa5c64d77
commit 04316e5b77
2 changed files with 7 additions and 2 deletions

View File

@ -1,2 +0,0 @@
#!/bin/bash
wineserver -k; killall -9 wine wineserver; for i in `ps ax|grep -E "\.exe"|awk '{print $1 }'`;do kill -9 $i;done;echo 'killed wine'

7
killwine.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
#kill wineserver
wineserver -k;
killall -9 wine wineserver;
#kill every exe process
for i in `ps ax|grep -E "\.exe"|awk '{print $1 }'`;do kill -9 $i;done;
echo 'killed wine'