nohup python run.py >> output 2>&1 &
指运行run.py文件,将输出定向写入到output文件中,运行后终端会返回进程ID
jobs -l
posted on 2019-11-28 20:14 海阔心 阅读(114) 评论(0) 编辑 收藏 举报