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

Revert to using stdlib Command, not subprocess #376

Merged
merged 3 commits into from
Jul 14, 2024
Merged

Conversation

sourcefrog
Copy link
Owner

Rust stdlib now has support for setting the process group on Unix.

Simplify timeouts waiting for children: just wait, without timing out and without sending a second signal. If the whole thing hangs, the user or a higher-level timout can stop it.

Aside from dropping a not-really-needed dependency, this should allow us to use jobservers.

@sourcefrog sourcefrog marked this pull request as ready for review July 12, 2024 04:13
Rust stdlib now has support for setting the process group on Unix.

Simplify timeouts waiting for children: just wait, without timing out
and without sending a second signal. If the whole thing hangs, the user
or a higher-level timout can stop it.

Aside from dropping a not-really-needed dependency, this should allow us
to use jobservers.
@sourcefrog sourcefrog merged commit 75c7ee5 into main Jul 14, 2024
40 checks passed
@sourcefrog sourcefrog deleted the std-process branch July 14, 2024 23:05
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.

1 participant