summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorkil-penguin <[email protected]>2026-02-26 15:02:40 +0900
committerGitHub <[email protected]>2026-02-26 14:02:40 +0800
commit392a6d993f5cbb233bc0eeab297919cb21099f2c (patch)
treead1029cac868b9793294c82ec39902de19935a7e
parentc4ea11fef3dc3ac6bd2e3c55d1c8179457eace5d (diff)
downloadopencode-392a6d993f5cbb233bc0eeab297919cb21099f2c.tar.gz
opencode-392a6d993f5cbb233bc0eeab297919cb21099f2c.zip
fix(desktop): remove interactive shell flag from sidecar spawn to prevent hang on macOS (#15136)
Co-authored-by: kil-penguin <[email protected]>
-rw-r--r--packages/desktop/src-tauri/src/cli.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/desktop/src-tauri/src/cli.rs b/packages/desktop/src-tauri/src/cli.rs
index 0c5dfebaf..af1a45cf3 100644
--- a/packages/desktop/src-tauri/src/cli.rs
+++ b/packages/desktop/src-tauri/src/cli.rs
@@ -320,7 +320,7 @@ pub fn spawn_command(
};
let mut cmd = Command::new(shell);
- cmd.args(["-il", "-c", &line]);
+ cmd.args(["-l", "-c", &line]);
for (key, value) in envs {
cmd.env(key, value);