mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-11-22 07:08:11 +00:00
kill server window properly
This commit is contained in:
parent
cae6043664
commit
daf9ce477f
@ -82,7 +82,9 @@ echo Done, see you next time
|
||||
|
||||
:: Just in case the user has corutils installed, use this hacky timeout instead of the timeout command
|
||||
ping 127.0.0.1 -n 2 > nul
|
||||
|
||||
taskkill /f /fi "WINDOWTITLE eq Administrator: PS Launcher Script" || taskkill /f /fi "WINDOWTITLE eq PS Launcher Script"
|
||||
|
||||
:: Attempt to kill either
|
||||
taskkill /f /fi "WINDOWTITLE eq Administrator: PS Launcher Script"
|
||||
taskkill /f /fi "WINDOWTITLE eq PS Launcher Script"
|
||||
|
||||
exit /b
|
Loading…
Reference in New Issue
Block a user