Function rerun::run

source ·
pub fn run<I, T>(
    build_info: BuildInfo,
    call_source: CallSource,
    args: I
) -> Result<u8>
where I: IntoIterator<Item = T>, T: Into<OsString> + Clone,
Expand description

Run the Rerun application and return an exit code.

This is used by the rerun binary and the Rerun Python SDK via python -m rerun [args…].

This installs crash panic and signal handlers that sends analytics on panics and signals. These crash reports includes a stacktrace. We make sure the file paths in the stacktrace don’t include and sensitive parts of the path (like user names), but the function names are all included, which means you should ONLY call run from a function with a non-sensitive name.

In the future we plan to support installing user plugins (that act like callbacks), and when we do we must make sure to give users an easy way to opt-out of the crash callstacks, as those could include the file and function names of user code.