github.com/telepresenceio/telepresence/v2@v2.20.0-pro.6.0.20240517030216-236ea954e789/pkg/dpipe/dpipe_windows.go (about) 1 package dpipe 2 3 import ( 4 "context" 5 "os" 6 "os/exec" //nolint:depguard // We want no logging and no soft-context signal handling 7 8 "github.com/telepresenceio/telepresence/v2/pkg/proc" 9 ) 10 11 func killProcess(ctx context.Context, cmd *exec.Cmd) { 12 proc.KillProcessGroup(ctx, cmd, os.Kill) 13 }