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

Method Kill

pty/pty.go:72–72  ·  view source on GitHub ↗

Kill the command process. Returned error is as for os.Process.Kill()

()

Source from the content-addressed store, hash-verified

70
71 // Kill the command process. Returned error is as for os.Process.Kill()
72 Kill() error
73
74 // Signal sends a signal to the command process. On non-windows systems, the
75 // returned error is as for os.Process.Signal(), on Windows it's

Callers 15

startCleanerFunction · 0.65
TestSSH_ForwardGPGFunction · 0.65
StartMethod · 0.65
ExecBackgroundFunction · 0.65
TestStartFunction · 0.65
startPtyFunction · 0.65
startPtyFunction · 0.65
TestStartFunction · 0.65
KillMethod · 0.65
KillMethod · 0.65
StartFunction · 0.65

Implementers 2

windowsProcesspty/pty_windows.go
otherProcesspty/pty_other.go

Calls

no outgoing calls

Tested by 9

TestSSH_ForwardGPGFunction · 0.52
TestStartFunction · 0.52
TestStartFunction · 0.52
TestAgent_Stats_MagicFunction · 0.52
TestReapFunction · 0.52
TestReapInterruptFunction · 0.52
binCmdFunction · 0.52
TestIntegrationDockerFunction · 0.52