在虚拟主机中安装了python程序,如何使它在服务器上自动运行?

2025-05-23 01:38:15
推荐回答(1个)
回答1:

nohup 和 screen 都可以解决:

nohup python script.py &

或者

screen python script.py