[Windows] Process.kill doesn't throw an exception on AccessDenied #1595
The bug is in
Unfortunately, a valid handle can return from OpenProcess without the PROCESS_TERMINATE access right.
This behavior was added to solve #1099.
for process in psutil.process_iter(): if process.name() == "eguiProxy.exe": print("killing") process.kill()
The text was updated successfully, but these errors were encountered: