MCPcopy
hub / github.com/wavetermdev/waveterm / SignalHup

Function SignalHup

pkg/util/unixutil/unixutil_unix.go:68–70  ·  view source on GitHub ↗
(pid int)

Source from the content-addressed store, hash-verified

66}
67
68func SignalHup(pid int) error {
69 return syscall.Kill(pid, syscall.SIGHUP)
70}
71
72func IsPidRunning(pid int) bool {
73 if pid <= 0 {

Callers 1

KillGracefulMethod · 0.92

Calls 1

KillMethod · 0.65

Tested by

no test coverage detected