Open FDiskas opened 3 years ago
@FDiskas Did you use the force
option? As the error message says, [t]his process can only be terminated forcefully.
I did nothing special. I thought that fkill
should handle that
Using force: true
is potentially dangerous (for example, force killing a system process). Hence, the default value is false
.
so that means if I start process in minimized window I can only force kill it? Can this be detected in fkill and used that flag instead throwing error?
so that means if I start process in minimized window I can only force kill it?
I don't think that the minimized windows is the reason for it. Perhaps it was to do with signals not being handled correctly. This needs more investigation.
Can this be detected in fkill and used that flag instead throwing error?
No, because, even if it was because of the minimized window, there are other minimized windows that are potentially dangerous to kill.
Again, I'd recommend to use force: true
, as suggested by the error message.
"fkill": "^7.0.1"
Error:
Actually windows throws the error:
taskkill /t /im altv-server.exe