Skip to main content

run_in_game_program

Function run_in_game_program 

Source
pub fn run_in_game_program(
    project: &Project,
    command: &str,
    args: &[String],
) -> u8
Expand description

Runs command with args in the game’s tool program of project and returns its exit code; 3 if there is none, or cargo doesn’t start (codes::PROJECT_FILE, codes::TOOLCHAIN).