From 9281240c4f64aa71786040f1b0904a06e6256c62 Mon Sep 17 00:00:00 2001 From: bjoernellens1 <64093272+bjoernellens1@users.noreply.github.com> Date: Fri, 26 May 2023 11:36:37 +0200 Subject: [PATCH] Update initialize.py --- initialize.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/initialize.py b/initialize.py index 570fff1..44e9fbe 100644 --- a/initialize.py +++ b/initialize.py @@ -66,7 +66,8 @@ class GitCloner: os.chdir(main_dir) # Execute "source install/setup.bash" from the parent directory - subprocess.check_call(['source', os.path.join('install', 'setup.bash')], shell=True) + #subprocess.check_call(['source', os.path.join('install', 'setup.bash')], shell=True) + subprocess.check_output(['source', 'install/setup.bash']) print("Setup file sourced successfully.") except subprocess.CalledProcessError as e: