Fix cmd/config windows issues

This commit is contained in:
Phillip Wittrock
2020-05-20 16:11:08 -07:00
parent d616c9c315
commit 28c919912a
10 changed files with 84 additions and 29 deletions

View File

@@ -5,6 +5,7 @@ package exec
import (
"io"
"os"
"os/exec"
"sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil"
@@ -30,5 +31,6 @@ func (c *Filter) Run(reader io.Reader, writer io.Writer) error {
cmd := exec.Command(c.Path, c.Args...)
cmd.Stdin = reader
cmd.Stdout = writer
cmd.Stderr = os.Stderr
return cmd.Run()
}