Linux、Windows后台运行Python脚本

Linux:nohup命令  基本用法: 1.nohup python3 test.py & 后台使用Python3运行test.py文件,日志默认输出到当前目录nohup.out或~/nohup.out文件。 2.nohup python3 test.py > nohup.out 2>&1 & 后台使用Python3运行test.py文件,日志全部输出到当前目录nohup.out文件。 3.查看
相关文章
相关标签/搜索