From bf5aefb61dee48a4ac0f6131d33a42bdc192f7a5 Mon Sep 17 00:00:00 2001 From: Medya Gh Date: Tue, 26 May 2020 23:08:47 -0700 Subject: [PATCH] put non-interactive back --- test/integration/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/helpers.go b/test/integration/helpers.go index ff26494800..422355a1ac 100644 --- a/test/integration/helpers.go +++ b/test/integration/helpers.go @@ -100,7 +100,7 @@ func Run(t *testing.T, cmd *exec.Cmd, powershell ...bool) (*RunResult, error) { if err != nil { return &RunResult{}, errors.Wrapf(err, "lookup powershell") } - args := append([]string{"-NoProfile"}, cmd.Args...) + args := append([]string{"-NoProfile", "-NonInteractive"}, cmd.Args...) newCmd = exec.Command(psBin, args...) newCmd.Stdout = cmd.Stdout newCmd.Stderr = cmd.Stderr