Update initialize.py

This commit is contained in:
bjoernellens1 2023-05-26 11:36:37 +02:00 committed by GitHub
parent 75d755c517
commit 9281240c4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,8 @@ class GitCloner:
os.chdir(main_dir) os.chdir(main_dir)
# Execute "source install/setup.bash" from the parent directory # 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.") print("Setup file sourced successfully.")
except subprocess.CalledProcessError as e: except subprocess.CalledProcessError as e: