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

Improve documentation of run(Cmd) #57705

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

Conversation

Octogonapus
Copy link
Contributor

This PR aims to make it clearer to new users how run, wait, and Process::exitcode all
interact. This is a comment point of confusion for new users.

It's a bit awkward having Process be a sort-of-internal data type, but then expecting
users to use Process::exitcode. I think this PR at least makes the current situation
clearer, and design changes can be left alone for now.

Fix #57612.

@ViralBShah ViralBShah added the docs This change adds or pertains to documentation label Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return value of run ?
2 participants