nohup venv/bin/python bin/photo_data.py > ph_save.log 2>&1 & 或者 nohup python -u test.py > test.log 2>&1 &
sh 文件nohup sh test.sh > test.log 2>&1 &
查看进程ps -ef | grep python