Skip to content

Commit

Permalink
clear env for uv pip-compile
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfiszel committed Dec 11, 2024
1 parent 1b922f3 commit a75c576
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/windmill-worker/src/python_executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,9 @@ pub async fn uv_pip_compile(
let mut child_cmd = Command::new(uv_cmd);
child_cmd
.current_dir(job_dir)
.env_clear()
.env("HOME", HOME_ENV.to_string())
.env("PATH", PATH_ENV.to_string())
.args(&args)
.stdout(Stdio::piped())
.stderr(Stdio::piped());
Expand Down

0 comments on commit a75c576

Please sign in to comment.