-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Cancelling ctx in system() doesn't actually stop it #122
Comments
Not a process group thing as such, but a pipe/stdout issue: golang/go#21922 |
This test takes 0.8s on macOS for me!
|
@benhoyt This is master! But you're absolutely right, that run did skip the test. But if I remove the
|
Very weird! I get 4s consistently:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TestExecuteContextSystemTimeout
takes 4s, indicating that the cancellation of the context isn't actually killing the "sleep 4" command. Presumably I was wrong about being wrong here. :-) I guess we need to kill the process group after all.The text was updated successfully, but these errors were encountered: