You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
virt/agent/worker/process_other.go

20 lines
321 B
Go

//go:build !linux && !darwin
package worker
import "os/exec"
func configureProcess(_ *exec.Cmd) {}
func terminateProcessGroup(command *exec.Cmd) {
if command.Process != nil {
_ = command.Process.Kill()
}
}
func killProcessGroup(command *exec.Cmd) {
if command.Process != nil {
_ = command.Process.Kill()
}
}