文档首页> 函数工作流 FunctionGraph> 常见问题> 通用问题> os.system("command &")执行日志未采集,应如何处理?
更新时间:2022-08-19 GMT+08:00

os.system("command &")执行日志未采集,应如何处理?

不建议使用os.system("command &")后台运行命令,其产生的输出函数不进行采集。如果要得到后台运行命令的输出,建议使用subprocess.Popen的方式获取其输出。

通用问题 所有常见问题

more