You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ensure exec.Cmd.Path and exec.Cmd.Args[0] consistency #174
Create a factory function for exec.Cmd so that we do not have to do the following all over the codebase
cmd:=exec.Command("docker", args...)
// exec.Command resolves cmd.Path via LookPath but leaves cmd.Args[0] as// the original "docker" string. Align Args[0] with the resolved Path so// downstream consumers and child-process// argv[0] observers see a consistent, fully-qualified command name.ifcmd.Path!="" {
cmd.Args[0] =cmd.Path
}
Activity