From 64a9b2f87374fd395adec966d77bead2d6b34c8d Mon Sep 17 00:00:00 2001 From: tripp <86533397+trippjoe@users.noreply.github.com> Date: Sun, 29 Dec 2024 14:59:15 -0500 Subject: [PATCH] fix orphaned cmd process (#639) closes #252 --- src-tauri/src/commands/binaries.rs | 2 +- src-tauri/src/commands/features/mods.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src-tauri/src/commands/binaries.rs b/src-tauri/src/commands/binaries.rs index b20fd8e6..5f2e72a3 100644 --- a/src-tauri/src/commands/binaries.rs +++ b/src-tauri/src/commands/binaries.rs @@ -600,7 +600,7 @@ pub async fn open_repl( command = std::process::Command::new("cmd"); command .args([ - "/K", + "/C", "start", &bin_ext("goalc"), "--game", diff --git a/src-tauri/src/commands/features/mods.rs b/src-tauri/src/commands/features/mods.rs index f763d92f..a991884d 100644 --- a/src-tauri/src/commands/features/mods.rs +++ b/src-tauri/src/commands/features/mods.rs @@ -918,7 +918,7 @@ pub async fn open_repl_for_mod( command = std::process::Command::new("cmd"); command .args([ - "/K", + "/C", "start", &bin_ext("goalc"), "--game",