zenity/internal/zencmd/process_unix.go
2022-06-28 14:27:12 +01:00

13 lines
164 B
Go

//go:build darwin || dev
package zencmd
import (
"os"
"syscall"
)
// KillParent is internal.
func KillParent() {
syscall.Kill(os.Getppid(), syscall.SIGHUP)
}