We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0613cfe commit f1a5d33Copy full SHA for f1a5d33
localexec.go
@@ -74,7 +74,7 @@ func (l LocalExecer) Start(ctx context.Context, c Command) (Process, error) {
74
err error
75
)
76
process.cmd = exec.CommandContext(ctx, c.Command, c.Args...)
77
- process.cmd.Env = c.Env
+ process.cmd.Env = append(os.Environ(), c.Env...)
78
process.cmd.Dir = c.WorkingDir
79
80
if c.GID != 0 || c.UID != 0 {
0 commit comments