nohup后台运行 命令 nohup python run.py >> output 2>&1 & 指运行run.py文件,将输出定向写入到output文件中,运行后终端会返回进程ID 查看进程 jobs -l