Closed
Description
In 2.2.1, I only get AccessDenied
from process.name()
. After updating to 3.0.1, process.memory_percent()
will also raise AccessDenied
error.
Also, although 3.0.0 should use the second method to get process name on windows, it always raises AccessDenied
from self.exe()
.
https://github.com/giampaolo/psutil/blob/master/psutil/_pswindows.py#L291-L294
I guess it should change to:
except AccessDenied:
return cext.proc_name(self.pid)