ssh连接服务器后台运行程序---Python程序为例
使用nohup即可实现断开ssh连接命令也不会被终止。nohup: no hang up.
# 在后台运行test.py的python脚本
nohup python test.py &
nohup: ignoring input and appending output to 'nohup.out’上面命令运行日志默认输入到nohup.out文档中
nohup python test.p...
原创
2019-08-12 12:31:43 ·
4953 阅读 ·
0 评论