Skip to main content

run

Function run 

Source
pub fn run<I, S>(args: I) -> Result<i32, CliError>
where I: IntoIterator<Item = S>, S: Into<OsString>,
Expand description

Runs the command entry API with process arguments.

This is the one public boot path, expressed through Bootloader: the default sim runtime is Bootloader::standard() (the in-process host loader only), so it boots no codec or library unless a loadable source is supplied via --load or already cached. A Boot command with no available codec returns no codec '<name>' available. To boot a real codec or library in-process, compose a Bootloader with Bootloader::host_verb/Bootloader::host_lib (or build a session with LoadSession::with_host_factory/LoadSession::with_loader and call run_with_session).