Skip to main content

launch

Function launch 

Source
pub fn launch(
    build: ProductBuild,
    boards: Vec<BoardRegistration>,
    artwork: &'static [(&'static str, &'static [u8])],
    command: fn(&ProductContext, &[Board], &ToolEnvironment, &[String]) -> ExitCode,
) -> ExitCode
Expand description

Called by thin binaries with only their selected board providers. Every mode first names the data directory after the binary, unless the app called subspace_product::configure_data_name first, then gets the user’s PATH; nothing before that starts a thread. It fails when something read a data path under another name before it.