Explorar el Código

fix(desktop): remove interactive shell flag from sidecar spawn to prevent hang on macOS (#15136)

Co-authored-by: kil-penguin <hyeonjun@gameduo.net>
kil-penguin hace 6 meses
padre
commit
392a6d993f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/desktop/src-tauri/src/cli.rs

+ 1 - 1
packages/desktop/src-tauri/src/cli.rs

@@ -320,7 +320,7 @@ pub fn spawn_command(
         };
         };
 
 
         let mut cmd = Command::new(shell);
         let mut cmd = Command::new(shell);
-        cmd.args(["-il", "-c", &line]);
+        cmd.args(["-l", "-c", &line]);
 
 
         for (key, value) in envs {
         for (key, value) in envs {
             cmd.env(key, value);
             cmd.env(key, value);