diff --git a/tests/helper/helper_cmd_wrapper.go b/tests/helper/helper_cmd_wrapper.go index 9115be1cb2e..7973d915c41 100644 --- a/tests/helper/helper_cmd_wrapper.go +++ b/tests/helper/helper_cmd_wrapper.go @@ -31,6 +31,7 @@ func Cmd(program string, args ...string) *CmdWrapper { prefix := fmt.Sprintf("[%s] ", filepath.Base(program)) prefixWriter := gexec.NewPrefixedWriter(prefix, GinkgoWriter) command := exec.Command(program, args...) + setSysProcAttr(command) return &CmdWrapper{ Cmd: command, program: program,