Linux远程关闭后,程序后台继续运行的方法

1.运行
nohup 操作名 &
如:
nohup python3 HttpServer.py &

2.关闭
查询进程pid号:ps -aux
kill -9 pid号

猜你喜欢

转载自blog.csdn.net/weixin_43632109/article/details/86062268
今日推荐