Skip to main content

spawn_server_detached

Function spawn_server_detached 

Source
pub fn spawn_server_detached(session_name: Option<&str>) -> Result<u32>
Expand description

Spawn the server as a detached background process

This is used when the client starts and no server is running. The server inherits the current working directory. Returns the PID of the spawned server (intermediate, not final daemon PID).