(logger slog.Logger, p *os.Process)
| 17 | } |
| 18 | |
| 19 | func 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)) |
| 21 | return syscall.Kill(-p.Pid, syscall.SIGHUP) |
| 22 | } |