pub fn spawn_daemon(session: &str) -> Result<()>Expand description
Spawns the daemon as a detached background process by re-executing the
current binary with the --run-daemon SESSION internal flag.
This avoids the fork-inside-tokio-runtime problem.