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

core: pass context.Context to the command runner to adhere to timeouts, if set #134

Merged
merged 1 commit into from
Mar 3, 2023

Conversation

mohammed90
Copy link
Member

The struct fields for timeouts have always been there, just not used. We also used to use exec.Command, which is probably to building this package before the existence of exec.CommandContext. This PR fixes both of those observations.

Copy link
Member

@mholt mholt left a comment

Choose a reason for hiding this comment

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

Ohh, thanks for getting to this. Let's give it a shot!

@mohammed90 mohammed90 merged commit 5d0f23f into master Mar 3, 2023
@mohammed90 mohammed90 deleted the timeouts branch March 3, 2023 11:19
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.

3 participants