Skip to content

Run start commands asynchronously #2868

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

Merged
merged 4 commits into from
Jan 17, 2023
Merged

Conversation

lava
Copy link
Member

@lava lava commented Jan 16, 2023

Run start commands asynchronously

We used to run start commands sequentially, but this has the
disadvantage the if any start command blocks indefinitely
(eg. `web server`) the subsequent commands are never executed
and the start command itself never gets to the CTRL-C signal
handling code below.

lava added 2 commits January 16, 2023 15:19
We used to run start commands sequentially, but this has the
disadvantage the if any start command blocks indefinitely
(eg. `web server`) the subsequent commands are never executed
and the start command itself never gets to the CTRL-C signal
handling code below.
Decorate some naked auto declarations with const and
references/pointers annotations to address suggestions
by clang-tidy.
Copy link
Member

@dominiklohmann dominiklohmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me locally, and the code looks good as well except for one minor suggestion. This also needs a bug fix changelog entry.

Copy link
Member

@dominiklohmann dominiklohmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one additional question that just came to my mind.

@lava lava merged commit 3d2c297 into master Jan 17, 2023
@lava lava deleted the story/sc-38788/start-commands-async branch January 17, 2023 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants