diff --git a/src/engine/src/helpers/function_bootstrap.py b/src/engine/src/helpers/function_bootstrap.py index 77a85569..228ace18 100644 --- a/src/engine/src/helpers/function_bootstrap.py +++ b/src/engine/src/helpers/function_bootstrap.py @@ -3,4 +3,5 @@ if __name__ == "__main__": sys.path.append("/mnt/open-workflow-engine/pipeline/task/src") + os.chdir(os.path.dirname(os.environ.get("_OWE_ENTRYPOINT_FILE_PATH"))) exec(open(os.environ.get("_OWE_ENTRYPOINT_FILE_PATH")).read()) \ No newline at end of file