Skip to content
Snippets Groups Projects
Commit fd056226 authored by Jeremy Nicklas's avatar Jeremy Nicklas
Browse files

fix job not ending

parent 1f770d1c
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Fixed
- Fix job not ending if forked processes still running.
## [1.0.1] - 2018-01-03
### Changed
......
......@@ -3,6 +3,8 @@ echo "Waiting for Jupyter Notebook server to open port ${port}..."
if wait_until_port_used "${host}:${port}" 60; then
echo "Discovered Jupyter Notebook server listening on port ${port}!"
else
echo "Timed out waiting for Jupyter Notebook server to open port ${port}!" ; exit 1
echo "Timed out waiting for Jupyter Notebook server to open port ${port}!"
pkill -P ${SCRIPT_PID}
clean_up 1
fi
sleep 2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment