From 220b99a9fabf10fad83a570f641ad39737d85875 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sun, 5 Jul 2026 20:18:24 +0300 Subject: fix: support custom command keybindings on windows refs #1041 --- src/pane.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/pane.rs') diff --git a/src/pane.rs b/src/pane.rs index 6094af83..a6edaaa7 100644 --- a/src/pane.rs +++ b/src/pane.rs @@ -1585,9 +1585,7 @@ impl PaneRuntime { render_notify: Arc, render_dirty: Arc, ) -> std::io::Result { - let mut cmd = CommandBuilder::new("/bin/sh"); - cmd.arg("-c"); - cmd.arg(command); + let mut cmd = crate::platform::pane_custom_command_pty_builder(command); cmd.cwd(cwd); apply_pane_terminal_env(&mut cmd); apply_pane_launch_env(&mut cmd, launch_env); -- cgit v1.2.3