add path escaping to start_jupyter.sh

with this proposed change, `$(pwd)` is escaped and users won't receive errors if the working directory path includes space for example.
This commit is contained in:
Soroush Sherafat
2023-02-24 12:09:30 +03:30
committed by GitHub
parent aa8d3abe6b
commit e27dd4314e

View File

@@ -1,3 +1,3 @@
#!/bin/bash
# Run Jupyter Notebook (Python 3.5.2, scipy 0.17.1)
docker run --rm -p 8888:8888 -v $(pwd):/home/jovyan/work jupyter/scipy-notebook:387f29b6ca83
docker run --rm -p 8888:8888 -v "$(pwd)":/home/jovyan/work jupyter/scipy-notebook:387f29b6ca83