本文介绍了从终端杀死Linux中的python interpeter的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想杀死python interpeter-目的是此刻正在运行的所有python文件都将停止(不包含有关此文件的任何信息).显然,应该关闭流程.
I want to kill python interpeter - The intention is that all the python files that are running in this moment will stop (without any informantion about this files).obviously the processes should be closed.
任何在python中删除文件或销毁网络的想法都可以:D(我正在使用虚拟机).我从终端需要它,因为我编写C代码并且使用linux命令...希望获得帮助
Any idea as delete files in python or destroy the interpeter is ok :D (I am working with virtual machine).I need it from the terminal because i write c code and i use linux commands...Hope for help
推荐答案
pkill -9 python
应该杀死任何正在运行的python进程.
should kill any running python process.
这篇关于从终端杀死Linux中的python interpeter的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!