Can't kill a python process in sublime text 2

后端 未结 9 1120
难免孤独
难免孤独 2021-02-04 14:06

I\'ve searched in a lot of places but I can\'t seem to get the keywords correct. I have a stalling process in Python in Sublime that causes the beachball of death on a Mac. I ca

9条回答
  •  甜味超标
    2021-02-04 14:10

    If you are a mac or linux user, you can kill all python processes by killall command.

    killall -9 Python
    

    Quick Access

    You may later add as an alias to the bash_profile script and run the same code by calling killpython.

    nano ~/.bash_profile
    

    Add this line as alias.

    alias killpython='killall -9 Python; echo "killed all snakes 

提交回复
热议问题