fix: windows launching

This commit is contained in:
DecDuck
2025-05-10 15:38:20 +10:00
parent 65561abdab
commit e75e0044fb

View File

@ -267,9 +267,9 @@ impl ProcessManager<'_> {
.to_string();
#[cfg(target_os = "windows")]
let mut command = Command::new("start");
let mut command = Command::new("cmd");
#[cfg(target_os = "windows")]
command.raw_arg(["/b", "\"\"", &launch_string]);
command.raw_arg(format!("/C \"{}\"", &launch_string));
info!("launching (in {}): {}", install_dir, launch_string,);