From 6f57f2f62c5d2591647262caf15bc3c962b9c9f8 Mon Sep 17 00:00:00 2001 From: JJ Liebig Date: Sat, 5 Sep 2026 21:56:17 +0200 Subject: fix: resolve Windows plugin pane launch paths (#3666) * fix: resolve Windows plugin pane launch paths refs #3024 * test: compare resolved Windows plugin probe paths refs #3024 * test: compare resolved Windows plugin working directories refs #3024 * test: wait for Windows plugin fixture completion refs #3024 --- src/platform/mod.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/platform/mod.rs') diff --git a/src/platform/mod.rs b/src/platform/mod.rs index 402b695d..4b49b9f7 100644 --- a/src/platform/mod.rs +++ b/src/platform/mod.rs @@ -43,6 +43,15 @@ pub(crate) fn prepare_paste_text_for_pty(text: String) -> String { prepare_paste_text_for_pty_platform(text) } +pub(crate) fn plugin_runtime_path(path: &std::path::Path) -> std::path::PathBuf { + plugin_runtime_path_platform(path) +} + +#[cfg(not(windows))] +fn plugin_runtime_path_platform(path: &std::path::Path) -> std::path::PathBuf { + path.to_path_buf() +} + #[cfg(not(windows))] fn prepare_paste_text_for_pty_platform(text: String) -> String { text -- cgit v1.2.3