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
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/birkenfeld'closed_at=<Date2005-06-25.19:55:50.000>created_at=<Date2005-04-26.20:48:54.000>labels= ['docs']
title="os.waitpid docs don\\'t specify return value for WNOHANG"updated_at=<Date2005-06-25.19:55:50.000>user='https://bugs.python.org/apjenkins'
The library documentation for os.waitpid() does not
specify what the return value should be if the
os.WNOHANG flag is given, and the process still hasn't
exited.
p, v = os.waitpid(pid, os.WNOHANG)
Through trial and error I discovered that in this case,
os.waitpid returns the tuple (0, 0) if pid is still
running. This should be in the documentation for
os.waitpid().
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: