后台挂起:python xxx.py & 在脚本命令后面加入“&”符号就可以后台运行。结束进程:kill -9 sidps -ef | grep ... 查询sid 转载于:https://www.cnblogs.com/ldzhangyx/p/8590326.html