关闭远程shell后,继续运行linux程序
1,启动shell,启动 screen
2,找到要运行的程序,启动 python3 main.py
3,关闭shell
4,查看正在运行的screen,screen -r
5,如何关闭screen
pgrep screen // grep -u $USER -x screen
kill -9 PID
WIKI FOR PROJECTS INFORMATIONS AND LEARNING RECORDER.
1,启动shell,启动 screen
2,找到要运行的程序,启动 python3 main.py
3,关闭shell
4,查看正在运行的screen,screen -r
5,如何关闭screen
pgrep screen // grep -u $USER -x screen
kill -9 PID
Leave a Reply
You must be logged in to post a comment.