Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
74
func
(p *process) Interrupt() {
75
if
p.Running() {
76
p.writeLine([]byte(
"\033[1mInterrupting...\033[0m"
))
77
p.signal(syscall.SIGINT)
78
}
79
}
80
81
func
(p *process) Kill() {
82
if
p.Running() {
Callers
1
waitForExit
Method · 0.80
Calls
3
Running
Method · 0.95
writeLine
Method · 0.95
signal
Method · 0.95
Tested by
no test coverage detected