mcpiapi icon indicating copy to clipboard operation
mcpiapi copied to clipboard

Stopping a process?

Open brainstormSTEM opened this issue 9 years ago • 2 comments

Hi! Is there anyway to stop or kill a process that is running inside a "while(TRUE)" loop? Thanks!!

brainstormSTEM avatar Jan 07 '16 18:01 brainstormSTEM

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.

arpruss avatar Jan 07 '16 20:01 arpruss

Awesome! Thanks!!

brainstormSTEM avatar Jan 12 '16 06:01 brainstormSTEM