pub(crate) fn terminate_child_gracefully(child: &Child)Expand description
Send SIGTERM to a child so it can shut down gracefully — for the CEF
host that means reaping its render subprocesses (a tokio start_kill
SIGKILL would orphan them); for srv it’s a clean shutdown. No-op if the
child has already exited (its pid may have been reaped). Best-effort:
the SIGKILL grace-window backstop in run_unix catches anything that
ignores SIGTERM.