Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
FIX stdout cmd on local runner (#935)
Browse files Browse the repository at this point in the history
* fix stdout cmd on local runner + tests

Signed-off-by: GuillaumeFalourd <guillaume.falourd@zup.com.br>

* update local runner tests

Signed-off-by: GuillaumeFalourd <guillaume.falourd@zup.com.br>
  • Loading branch information
GuillaumeFalourd authored and github-actions committed May 26, 2021
1 parent 1269dcd commit 1d5d707
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/formula/runner/local/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ func (ru RunManager) Run(def formula.Definition, inputType api.TermInputType, ve
formulaRun := filepath.Join(setup.TmpDir, setup.BinName)
cmd := exec.Command(formulaRun)
cmd.Stdin = os.Stdin
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr

if err := ru.setEnvs(cmd, setup.Pwd, verbose); err != nil {
Expand Down

0 comments on commit 1d5d707

Please sign in to comment.