pub fn launch_detached_surface( folder: &Path, state_dir: &Path, args: &[OsString], ) -> Result<DetachedSurface, String>