diff --git a/pkg/exec/shell_windows.go b/pkg/exec/shell_windows.go index 9f4b551c0..84b7ea206 100644 --- a/pkg/exec/shell_windows.go +++ b/pkg/exec/shell_windows.go @@ -12,5 +12,5 @@ import ( // hideExecShell hides the windows when executing on Windows. func hideExecShell(cmd *exec.Cmd) { - cmd.SysProcAttr = &syscall.SysProcAttr{CreationFlags: windows.DETACHED_PROCESS} + cmd.SysProcAttr = &syscall.SysProcAttr{CreationFlags: windows.DETACHED_PROCESS & windows.CREATE_NO_WINDOW} }