python脚本后台启动

nohup python -u test.py > out.log 2>&1 &
nohup python -u 文件路径 > 打印日志 2>&1 &
原文地址:https://www.cnblogs.com/1a2a/p/10268373.html