use check call

This commit is contained in:
Steven Silvester 2021-12-10 15:18:25 -06:00
parent b07c51616c
commit e94be54f97

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.run(['init'], shell=True, cwd=binder_folder)
subprocess.check_call(['init'], shell=True, cwd=binder_folder)
# Launch Jupyter
argv = sys.argv[1:]