pub fn connect_or_spawn_server(bin: Option<&Path>) -> Result<String>Expand description
Wait for the gateway to become reachable, spawning a detached daemon if none is running.
Returns the gateway channel name string, which the caller passes to the
muxio IPC client. bin defaults to the current executable so tests can
point it at CARGO_BIN_EXE_term-session.