use bash explicitly

This commit is contained in:
Steven Silvester 2021-12-10 15:22:06 -06:00
parent e94be54f97
commit dc0316512f

View File

@ -6,7 +6,7 @@ import subprocess
# Start the local mongodb as a background task
binder_folder = os.path.join(os.getcwd(), 'binder')
subprocess.check_call(['init'], shell=True, cwd=binder_folder)
subprocess.check_call(['bash', 'init'], shell=True, cwd=binder_folder)
# Launch Jupyter
argv = sys.argv[1:]