diff --git a/shell/utility.go b/shell/utility.go index 0b6d507..72577c4 100644 --- a/shell/utility.go +++ b/shell/utility.go @@ -73,7 +73,7 @@ func runCommand(command string, state *State, environment []string, workingDirec input, _ := json.Marshal(state.Output) stdin := bytes.NewReader(input) cmd.Stdin = stdin - environment = append(environment, os.Environ()...) + environment = append(os.Environ(), environment...) cmd.Env = environment stdout, _ := circbuf.NewBuffer(maxBufSize) stderr, _ := circbuf.NewBuffer(maxBufSize)