You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
>>> psutil.Process(0).resume()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "psutil\__init__.py", line 420, in resume
self._platform_impl.resume_process()
File "psutil\_psmswindows.py", line 198, in resume_process
return _psutil_mswindows.resume_process(self.pid)
WindowsError: [Error 87] The parameter is incorrect
>>>
>>>
>>> psutil.Process(4).resume()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "psutil\__init__.py", line 420, in resume
self._platform_impl.resume_process()
File "psutil\_psmswindows.py", line 198, in resume_process
return _psutil_mswindows.resume_process(self.pid)
WindowsError: [Error 5] Access is denied
>>>
What is the expected output?
What do you see instead?
In both cases AccessDenied exception should be raised instead.
From g.rodola on December 27, 2010 19:21:20
Original issue: http://code.google.com/p/psutil/issues/detail?id=145
The text was updated successfully, but these errors were encountered: