Skip to content

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

Closed
@manuel-koch

Description

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')

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions