nohup python3 -u botxiaohui.py >> botruninfo.log 2 >&1 &
>> 是追加的输出
> 单行,则覆盖输出
> > is the additional output if it is a single line, covering the output
nohup 命令 追加输入日志或者覆盖输出日志
原文:https://www.cnblogs.com/jinbiao/p/12718767.html