mcpiapi
mcpiapi copied to clipboard
Stopping a process?
Hi! Is there anyway to stop or kill a process that is running inside a "while(TRUE)" loop? Thanks!!
If you're on Windows, you can press ctrl-alt-del, start the Task Manager and kill the python process. If you're on Linux or OS X, you can pull up a terminal and stop the relevant python process with the kill command. ("killall python" should work, but may kill other processes you care about.) I don't know if mcpiapi has any other method for killing the process.
Awesome! Thanks!!