Skip to main content

launch_with

Function launch_with 

Source
pub fn launch_with(
    options: &LaunchOptions,
    configure: impl FnOnce(&mut Command),
) -> Result<ExitStatus>
Expand description

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.

§Errors

See launch.