From cf7859cb775a03c5e542709fded0ff7e24fd11bb Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Wed, 18 Jun 2025 18:24:54 +0200 Subject: [PATCH] fix additional python paths for windows --- backend/windmill-worker/src/python_executor.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/backend/windmill-worker/src/python_executor.rs b/backend/windmill-worker/src/python_executor.rs index 35815e452c..de5bedc5b1 100644 --- a/backend/windmill-worker/src/python_executor.rs +++ b/backend/windmill-worker/src/python_executor.rs @@ -674,7 +674,14 @@ except BaseException as e: // ^^^^^^ ^ // We also want this be priorotized, that's why we insert it to the beginning } - paths.iter().join(":") + #[cfg(windows)] + { + paths.iter().join(";") + } + #[cfg(not(windows))] + { + paths.iter().join(":") + } }; #[cfg(windows)]