pub fn spawn_service_process(executable: &Path) -> Result<()>Expand description
Starts the current executable’s __service mode without inheriting host
standard-I/O handles.
On Windows this uses a detached process group and disables handle inheritance at process creation, preventing a durable service from keeping a short-lived hook runner’s pipes open.