aboutsummaryrefslogtreecommitdiff
path: root/src/integration
diff options
context:
space:
mode:
Diffstat (limited to 'src/integration')
-rw-r--r--src/integration/env.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/integration/env.rs b/src/integration/env.rs
index 548c1386..bec9e23b 100644
--- a/src/integration/env.rs
+++ b/src/integration/env.rs
@@ -27,7 +27,7 @@ pub(crate) const HERMES_HOME_ENV_VAR: &str = "HERMES_HOME";
pub(crate) fn apply_pane_base_env(cmd: &mut CommandBuilder) {
cmd.env(crate::api::SOCKET_PATH_ENV_VAR, crate::api::socket_path());
- if let Ok(executable) = std::env::current_exe() {
+ if let Ok(executable) = crate::platform::launch_executable() {
cmd.env("HERDR_BIN_PATH", executable);
}
}