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

Process.wait() on Windows may not wait till process is gone #1098

Closed
giampaolo opened this issue May 30, 2017 · 0 comments
Closed

Process.wait() on Windows may not wait till process is gone #1098

giampaolo opened this issue May 30, 2017 · 0 comments

Comments

@giampaolo
Copy link
Owner

It can erroneously return sooner but the PID is still there:

Traceback (most recent call last):
  File "c:\projects\psutil\psutil\tests\test_misc.py", line 923, in test_reap_children
    reap_children()
  File "c:\projects\psutil\psutil\tests\__init__.py", line 438, in reap_children
    assert_gone(pid)
  File "c:\projects\psutil\psutil\tests\__init__.py", line 388, in assert_gone
    assert not psutil.pid_exists(pid), pid
AssertionError: 3028
======================================================================
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

1 participant