fix cmd
This commit is contained in:
@@ -314,7 +314,8 @@ async fn execute_post_install(handle: &AppHandle, log_id: &str, steps: Vec<PostI
|
|||||||
PostInstallStep::Command { run, .. } => {
|
PostInstallStep::Command { run, .. } => {
|
||||||
emit_log(handle, log_id, "Command Execution", &format!("{}Executing: {}", step_prefix, run), "info");
|
emit_log(handle, log_id, "Command Execution", &format!("{}Executing: {}", step_prefix, run), "info");
|
||||||
let output = Command::new("cmd")
|
let output = Command::new("cmd")
|
||||||
.args(["/C", &run])
|
.arg("/C")
|
||||||
|
.raw_arg(&run)
|
||||||
.creation_flags(0x08000000)
|
.creation_flags(0x08000000)
|
||||||
.output();
|
.output();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user