Skip to content

Commit

Permalink
setSysProcAttr on Cmd (redhat-developer#6038)
Browse files Browse the repository at this point in the history
  • Loading branch information
feloy authored and cdrage committed Aug 31, 2022
1 parent ba7c0f9 commit b114d44
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 b114d44

Please sign in to comment.