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.

The default LoadSession is a pre-publish bootloader frame: it registers only the in-process host loader, 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, build a session with LoadSession::with_host_factory/LoadSession::with_loader and call run_with_session.