| 1 | package exporttest |
| 2 | |
| 3 | import "syscall" |
| 4 | |
| 5 | // processGroup puts a command in a process group of its own, and has the |
| 6 | // kernel kill it when the test process dies. |
| 7 | func processGroup() *syscall.SysProcAttr { |
| 8 | return &syscall.SysProcAttr{Setpgid: true, Pdeathsig: syscall.SIGKILL} |
| 9 | } |