阅读背景:

Python Popen:同时写入stdout和日志文件

来源:互联网 

I am using Popen to call a shell script that is continuously writing its stdout and stderr to a log file. Is there any way to simultaneously output the log file continuously (to the screen), or alternatively, make the shell script write to both the log file and stdout at the same time? I am using Popen to call a shell script that is




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: