macos – Kill a python process
macos – Kill a python process
Try Ctrl+
to send a SIGQUIT.
ps a
to get the PID of your process. kill -9 <pid>
to send it the unblockable SIGKILL signal.
Note that I only have a Linux box in front of me to test, so the OS X commands may be slightly different.
macos – Kill a python process
try this.
pkill -9 python
or
ps -ef|grep python
kill -9 <pid>
or
lsof -i :port
or
sudo kill $(sudo lsof -t -i:8000)