MCPcopy Index your code
hub / github.com/coder/coder / Signal

Method Signal

pty/pty_windows.go:269–272  ·  view source on GitHub ↗
(sig os.Signal)

Source from the content-addressed store, hash-verified

267}
268
269func (p *windowsProcess) Signal(sig os.Signal) error {
270 // Windows doesn't support signals.
271 return p.Kill()
272}
273
274// killOnContext waits for the context to be done and kills the process, unless it exits on its own first.
275func (p *windowsProcess) killOnContext(ctx context.Context) {

Callers

nothing calls this directly

Calls 1

KillMethod · 0.95

Tested by

no test coverage detected