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

Function cmdSysProcAttr

agent/agentssh/exec_other.go:13–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11)
12
13func cmdSysProcAttr() *syscall.SysProcAttr {
14 return &syscall.SysProcAttr{
15 Setsid: true,
16 }
17}
18
19func cmdCancel(logger slog.Logger, p *os.Process) error {
20 logger.Debug(context.Background(), "cmdCancel: sending SIGHUP to process and children", slog.F("pid", p.Pid))

Callers 1

startNonPTYSessionMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected