tauri_cli

Function try_run

Source
pub fn try_run<I, A>(args: I, bin_name: Option<String>) -> Result<()>
where I: IntoIterator<Item = A>, A: Into<OsString> + Clone,
Expand description

Run the Tauri CLI with the passed arguments.

It is similar to run, but instead of exiting on an error, it returns a result.