internal/gitutil/proc_other.go

fc755889baf27e51072434797bb4de2076d3f7eb
gitbay/internal/gitutil/proc_other.go

13 lines · 175 bytes

 1//go:build !unix
 2
 3package gitutil
 4
 5import "os/exec"
 6
 7func ownProcessGroup(cmd *exec.Cmd) {}
 8
 9func killTree(cmd *exec.Cmd) {
10	if cmd.Process != nil {
11		cmd.Process.Kill()
12	}
13}