mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-10 04:22:13 +10:00
fix: windows launching
This commit is contained in:
@ -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,);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user