python如何在后端运行代码

nohup python your_script.py &

如果要杀死进程

ps -ef | grep python

你可能感兴趣的:(python,ubuntu)