use WinClose instead of Process, Close

… since that doesn’t force kill the process.

fixes #4
This commit is contained in:
alterNERDtive 2020-08-03 18:47:45 +02:00
parent a702de228c
commit 53da52d8ae

View file

@ -133,7 +133,7 @@ watchTarget:
for ip, path in config["tools"]["paths"] {
SplitPath, path, file
if (WinExist("ahk_exe " file)) {
Process, Close, % file
WinClose
}
}
}