-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
fix: --cmd breaking with >1 argument, kill child processes correctly #181
Conversation
return err | ||
} | ||
} | ||
running = map[string]*exec.Cmd{} |
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.
Go 1.21 brings in the new "clear" function, but I want to stick to supporting older versions of Go until they're unsupported by the Go team.
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.
So this is good!
Fixes issue 4 in the #146 experience report.
Maybe add tests for the cli to prevent future issues.