MCPcopy Create free account
hub / github.com/LanceLRQ/deer-executor / Signal

Method Signal

common/sandbox/cmd/exec.go:133–135  ·  view source on GitHub ↗

Signal sends a signal to the Process. Sending Interrupt on Windows is not implemented.

(sig Signal)

Source from the content-addressed store, hash-verified

131// Signal sends a signal to the Process.
132// Sending Interrupt on Windows is not implemented.
133func (p *Process) Signal(sig Signal) error {
134 return p.signal(sig)
135}
136
137// UserTime returns the user CPU time of the exited process and its children.
138func (p *ProcessState) UserTime() time.Duration {

Callers 1

killMethod · 0.95

Calls 1

signalMethod · 0.95

Tested by

no test coverage detected