Skip to main content

check_should_reexec

Function check_should_reexec 

Source
pub fn check_should_reexec(data_dir: &Path) -> Option<(String, String)>
Expand description

Check if we should re-exec into an installed variant.

Returns Some((variant_id, version)) if a re-exec is needed, None if already running the correct binary.