linux命令后台执行python脚本

nohup python xxx.py > nohup.log 2>&1 &

程序将于后台运行。

原文地址:https://www.cnblogs.com/mydesky2012/p/11458188.html