clean up startup

This commit is contained in:
Steven Silvester 2021-12-10 15:17:30 -06:00
parent f0160fe0ce
commit b07c51616c

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