MCPcopy Index your code
hub / github.com/DarthSim/overmind / Running

Method Running

start/process.go:94–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92}
93
94func (p *process) Running() bool {
95 if pid := p.pid; pid > 0 {
96 err := syscall.Kill(pid, syscall.Signal(0))
97 return err == nil || err == syscall.EPERM
98 }
99
100 return false
101}
102
103func (p *process) Stop(keepAlive bool) {
104 p.canDieNow = keepAlive

Callers 4

StartObservingMethod · 0.95
StopMethod · 0.95
KillMethod · 0.95
observeMethod · 0.95

Calls 1

KillMethod · 0.80

Tested by

no test coverage detected