Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raised psutil.TimeoutExpired using wrong timeout unit - seconds vs. milliseconds #869

Closed
manuel-koch opened this issue Aug 10, 2016 · 1 comment

Comments

@manuel-koch
Copy link

Using
Process.wait(timeout=0.1)
with a process that is still running during the timeout duration results in exception being thrown with wrong text, e.g. the timeout should be noted as "milliseconds" and not "seconds".

File "C:\Python34_64\lib\site-packages\psutil\_pswindows.py", line 665, in wait raise TimeoutExpired(timeout, self.pid, self._name) psutil.TimeoutExpired: psutil.TimeoutExpired timeout after 100 seconds (pid=72124, name='cmd.exe')

giampaolo added a commit that referenced this issue Aug 10, 2016
@giampaolo
Copy link
Owner

Fixed, thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants