pub fn spawn_and_attach() -> Option<CrashHandlerGuard>Expand description
Spawn a crash monitor child process and attach the VEH crash handler in this process.
Returns Some(guard) on success. The guard must be kept alive (e.g. as a let _ binding
at the top of main) for the handler to remain active. Returns None on any failure —
non-fatal, the process continues without the VEH handler (WER LocalDumps still works).