mirror of
https://github.com/black-ant/Ant-Browser.git
synced 2026-07-14 18:48:55 +08:00
11 lines
163 B
Go
11 lines
163 B
Go
//go:build !windows
|
|
// +build !windows
|
|
|
|
package automation
|
|
|
|
import "syscall"
|
|
|
|
func killProcessGroup(pid int) error {
|
|
return syscall.Kill(-pid, syscall.SIGKILL)
|
|
}
|