mirror of
https://github.com/rishikanthc/Scriberr.git
synced 2026-06-29 23:36:18 +00:00
13 lines
280 B
Go
13 lines
280 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package queue
|
|
|
|
import "os"
|
|
|
|
// killProcessTree attempts to kill the process. Windows lacks a simple
|
|
// process group SIGKILL equivalent; callers may need a more robust tree kill.
|
|
func killProcessTree(p *os.Process) error {
|
|
return p.Kill()
|
|
}
|