summaryrefslogtreecommitdiff
path: root/src/platform/mod.rs
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-08-01 21:25:20 +0300
committerGitHub <noreply@github.com>2026-08-01 21:25:20 +0300
commitdf2cb2c3a585bdb22bb670f6da8147c7c1ffe982 (patch)
treeefd425e54c5f65388a3ea598640017979203a10d /src/platform/mod.rs
parent885c9a6b5b48bf1fa89b12783b01ca21ec50d79d (diff)
fix(windows): detect agents across git bash exec boundaries (#2170)
refs #2107
Diffstat (limited to 'src/platform/mod.rs')
-rw-r--r--src/platform/mod.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/platform/mod.rs b/src/platform/mod.rs
index 613bff1a..38d797d1 100644
--- a/src/platform/mod.rs
+++ b/src/platform/mod.rs
@@ -35,6 +35,13 @@ pub(crate) fn pane_custom_command_pty_builder(command: &str) -> portable_pty::Co
pane_custom_command_pty_builder_platform(command)
}
+pub(crate) fn apply_pane_runtime_marker(command: &mut portable_pty::CommandBuilder) {
+ apply_pane_runtime_marker_platform(command);
+}
+
+#[cfg(not(windows))]
+fn apply_pane_runtime_marker_platform(_command: &mut portable_pty::CommandBuilder) {}
+
pub(crate) fn configure_background_command(command: &mut std::process::Command) {
configure_background_command_platform(command);
}