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

[doc] Make subprocess.wait documentation more precise #98700

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

luispedro
Copy link

@luispedro luispedro commented Oct 26, 2022

An active loop is only used when the timeout parameter is used on POSIX.

When no timeout is used, the code calls os.waitpid internally (which puts the process on a sleep status). On Windows, the internal Windows API call accepts a timeout parameter, so that is delegated to the OS.

An active loop is only used when the `timeout` parameter is used on
POSIX.

When no timeout is used, the code calls `os.waitpid` internally (which puts
the process on a sleep status). On Windows, the internal Windows API
call accepts a timeout parameter, so that is delegated to the OS.
@bedevere-bot bedevere-bot added awaiting review docs Documentation in the Doc dir skip news labels Oct 26, 2022
@cpython-cla-bot
Copy link

cpython-cla-bot bot commented Oct 26, 2022

All commit authors signed the Contributor License Agreement.
CLA signed

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

Successfully merging this pull request may close these issues.

None yet

3 participants