在云主机后台进行python程序运行

nohup python main.py & 

nohup liunx自带的命令

注意:后面(&)!

 

原文地址:https://www.cnblogs.com/yanghaoran/p/9929287.html