zenity/internal/zencmd/process_unix.go

14 lines
164 B
Go
Raw Normal View History

2022-03-24 10:37:37 -04:00
//go:build darwin || dev
2021-04-30 14:19:14 -04:00
2022-06-28 09:25:19 -04:00
package zencmd
2021-04-30 14:19:14 -04:00
import (
"os"
"syscall"
)
2022-06-28 09:25:19 -04:00
// KillParent is internal.
func KillParent() {
2021-04-30 14:19:14 -04:00
syscall.Kill(os.Getppid(), syscall.SIGHUP)
}