diff --git a/ostp-client/src/runner.rs b/ostp-client/src/runner.rs index 8aadb8a..7cad9c4 100644 --- a/ostp-client/src/runner.rs +++ b/ostp-client/src/runner.rs @@ -68,7 +68,7 @@ fn relaunch_as_admin() -> Result<()> { let _ = std::process::Command::new("powershell") .args(["-Command", &ps_script]) - .spawn()?; + .status()?; std::process::exit(0); }