Skip to main content

run

Function run 

pub fn run(spec: &LaunchSpec) -> Result<(), LaunchError>
Expand description

Run the standard app lifecycle using std::env::args.

§Errors

Returns a LaunchError if argument parsing fails (an unknown flag, a missing or malformed value, a duplicate flag, --shots combined with --headless-drive, a shots-only flag used outside --shots, or an undeclared --scenario), or if the app’s root factory, shot factory, or shot handler returns one.