pub async fn run_as_subprocess( mode: &str, socket_path: &str, token: &str, ) -> Result<()>
Start a service as a subprocess based on mode.