-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Add spawn APIs for BootstrapCommand to support deferred command execution #142591
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
base: master
Are you sure you want to change the base?
Add spawn APIs for BootstrapCommand to support deferred command execution #142591
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I think this API is really elegant. Left a few comments, but overall looks good.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Left one comment, after that you can squash and I think we're good to go. The CI failure is a fluke, I think. |
I saw the same error in the last set of push... Need to dig.. |
…tion and update wait_for_output usage
9675e12
to
55e2c26
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
e541562
to
aea3f77
Compare
aea3f77
to
0512280
Compare
Great, thanks! @bors r+ |
This PR adds new deferred command support in the ExecutionContext and provides APIs to spawn commands and wait for their completion. This structure enables moving away from the start_process helper functions towards a more unified and reusable command execution flow.
r? @Kobzol