We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa1ee66 commit e187822Copy full SHA for e187822
.github/actions/Emscripten-Notebook-Tests/action.yml
@@ -82,9 +82,16 @@ runs:
82
# Jupyter Lite website.
83
pkill -9 timeout
84
pkill -9 jupyter-lite
85
- echo "All Processes using port 8000"
86
- lsof -i :8000
87
- echo "Killing all processes using port 8000"
+ echo "All Processes using port 127.0.0.1"
+ export PIDS=$(lsof -t -i @127.0.0.1)
+ echo $PIDS
88
kill -9 $(lsof -ti :8000)
89
90
+ if [ -z "$PIDS" ]; then
+ echo 0
91
+ else
92
+ echo "Killing processes: $PIDS"
93
+ kill -9 $PIDS
94
+ fi
95
96
97
0 commit comments