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 31932ce commit 34bb2c9Copy full SHA for 34bb2c9
.github/actions/Emscripten-Notebook-Tests/action.yml
@@ -84,7 +84,6 @@ runs:
84
# Jupyter Lite website.
85
kill -9 $jupyter_lite_process_id
86
87
- pkill -f "jupyter|jupyter-lite" || true
88
- kill -9 $(lsof -t -i:8000) 2>/dev/null || true
89
- sudo lsof -nP -iTCP -sTCP:LISTEN | grep -E "8000|jupyter|python|http"
90
+ pkill -f "jupyter|jupyter-lite" || :
+ PID=$(lsof -t -i:8000 || :) && [ -n "$PID" ] && kill -9 $PID || :
+
0 commit comments