mirror of
https://github.com/bjoernellens1/cps_loki.git
synced 2024-11-22 23:33:50 +00:00
Update initialize.py
This commit is contained in:
parent
75d755c517
commit
9281240c4f
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user