This commit is contained in:
Chiran Fernando 2025-05-18 16:11:04 +05:30
parent 68015ae8fc
commit 561b8fb637
3 changed files with 40 additions and 40 deletions

View file

@ -20,4 +20,4 @@ func getProcessGroup(pid int) (int, error) {
// killProcessGroup kills a process group on Unix systems
func killProcessGroup(pgid int, signal syscall.Signal) error {
return syscall.Kill(-pgid, signal)
}
}