pub(crate) fn spawn_host_unix(
real_exe: &Path,
args: &[String],
srv: &SrvSpawnResult,
host_env: &[(&'static str, OsString)],
disable_gpu: bool,
) -> Option<Child>Expand description
Spawn the CEF host on Unix with the srv endpoints + canonical
data-dir env handed off, mirroring spawn_host_supervised minus the
Windows-only machinery (Job Object assignment, CREATE_SUSPENDED /
resume, named-pipe handle, splash event). disable_gpu is the retry
ladder’s degraded rung (software rendering). Returns the running
child or None if spawn failed.
AGENTMUX_HOME is intentionally NOT set: on the flat dev layout the
host’s current_exe().parent() fallback resolves to the same dir the
launcher would export, so omitting it keeps asset + framework lookup
byte-identical to the legacy direct-invoke (task dev:standalone)
path. Phase 2 will set it once the production runtime/ layout lands
on macOS.