-
Notifications
You must be signed in to change notification settings - Fork 74
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
Add wrapper to execute shell commands #261
Add wrapper to execute shell commands #261
Conversation
✅ Deploy Preview for agent-public-docs canceled.
|
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.
LGTM, although I don't understand why anything besides environment.go
and environment_test.go
is changing here.
@@ -654,15 +654,31 @@ func processorCache(item cpu.InfoStat) map[string]string { | |||
return cache | |||
} | |||
|
|||
type Shell interface { |
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.
nit: recommend having doc comments on all exported symbols
type Shell interface { | |
// Shell runs child processes, exists to enable testing. | |
type Shell interface { |
Waiting on testing from @craigell |
Proposed changes
Checklist
Before creating a PR, run through this checklist and mark each as complete.
CONTRIBUTING
documentmake install-tools
and have attached any dependency changes to this pull requestREADME.md
)