Skip to main content

spawn_background_check

Function spawn_background_check 

Source
pub fn spawn_background_check(
    exe_path: &Path,
    config_json: &str,
) -> Result<(), UpdateKitError>
Expand description

Spawn a background process to check for updates.

Launches the current executable (or the given exe) as a detached process with a special flag and serialized config JSON. The process runs independently (fire and forget).