Skip to content

Commit

Permalink
add path escaping to start_jupyter.sh
Browse files Browse the repository at this point in the history
with this proposed change, `$(pwd)` is escaped and users won't receive errors if the working directory path includes space for example.
  • Loading branch information
sorousherafat authored Feb 24, 2023
1 parent aa8d3ab commit e27dd43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s/start_jupyter.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e27dd43

Please sign in to comment.