From 0a00981946b9db09698851aa1dd2bf5392123231 Mon Sep 17 00:00:00 2001 From: Christopher Pickering Date: Wed, 14 Sep 2022 12:31:28 +0200 Subject: [PATCH] fix(python): changed venv start command from source to . to support headless terminal --- runner/scripts/em_python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runner/scripts/em_python.py b/runner/scripts/em_python.py index 1f4f5db6..29aaa239 100644 --- a/runner/scripts/em_python.py +++ b/runner/scripts/em_python.py @@ -148,7 +148,7 @@ def __pip_install(self) -> None: # install deps with poetry cmd = ( f'cd "{self.job_path}" && ' - + f'source "{self.env_name}/bin/activate" && ' + + f'. "{self.env_name}/bin/activate" && ' + "poetry_env/bin/poetry install && " + "deactivate" )