后台挂起:

python xxx.py &

在脚本命令后面加入“&”符号就可以后台运行。

结束进程:
kill -9 sid

ps -ef | grep ... 查询sid

相关文章: