MCPcopy Create free account
hub / github.com/DarthSim/hivemind / Interrupt

Method Interrupt

process.go:74–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72}
73
74func (p *process) Interrupt() {
75 if p.Running() {
76 p.writeLine([]byte("\033[1mInterrupting...\033[0m"))
77 p.signal(syscall.SIGINT)
78 }
79}
80
81func (p *process) Kill() {
82 if p.Running() {

Callers 1

waitForExitMethod · 0.80

Calls 3

RunningMethod · 0.95
writeLineMethod · 0.95
signalMethod · 0.95

Tested by

no test coverage detected