Loading

摘要: linux程序后台运行且将打印信息保存在文件中 nohup python3 -u test.py > test.log 2>&1 & 最后一个“&”表示后台运行程序 “nohup” 表示程序不被挂起( 嵌入式linux系统可能没有) “python3”表示执行python代码 “-u”表示不启用缓存 阅读全文
posted @ 2020-11-21 16:32 摇头晃脑学知识 阅读(69) 评论(0) 推荐(0) 编辑