Closing iPython while script is running

时间:2015-06-25 18:14:46

标签: python ipython

I closed iPython explicitly when a script was running. The script didn't stop and is still running in the background, creating some output files. How can I stop the script?

1 个答案:

答案 0 :(得分:0)

You can kill the ipython process by this command

ps aux | grep ipython | grep -v "grep ipython" | awk '{print $2}' | xargs kill -9