Skip to content

Commit

Permalink
setSysProcAttr on Cmd (#6038)
Browse files Browse the repository at this point in the history
  • Loading branch information
feloy authored Aug 19, 2022
1 parent d4e82cd commit 79a57cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/helper/helper_cmd_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 79a57cd

Please sign in to comment.