pub fn launch_with( options: &LaunchOptions, configure: impl FnOnce(&mut Command), ) -> Result<ExitStatus>
Like launch, but lets the caller adjust the Command (stdio, extra environment) after the game’s own environment is in place and before the shell starts. Tests use it to run the real launch path without a terminal.
launch
Command
See launch.