MCPcopy Create free account
hub / github.com/cortesi/modd / sendSignal

Method sendSignal

shell/proc_windows.go:19–21  ·  view source on GitHub ↗
(sig os.Signal)

Source from the content-addressed store, hash-verified

17}
18
19func (e *Executor) sendSignal(sig os.Signal) error {
20 return exec.Command("taskkill", "/f", "/t", "/pid", strconv.Itoa(e.cmd.Process.Pid)).Run()
21}

Callers

nothing calls this directly

Calls 1

RunMethod · 0.45

Tested by

no test coverage detected