mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-10 20:42:10 +10:00
fix: windows launching
This commit is contained in:
@ -267,9 +267,9 @@ impl ProcessManager<'_> {
|
|||||||
.to_string();
|
.to_string();
|
||||||
|
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
let mut command = Command::new("start");
|
let mut command = Command::new("cmd");
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
command.raw_arg(["/b", "\"\"", &launch_string]);
|
command.raw_arg(format!("/C \"{}\"", &launch_string));
|
||||||
|
|
||||||
info!("launching (in {}): {}", install_dir, launch_string,);
|
info!("launching (in {}): {}", install_dir, launch_string,);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user