How to read output in python as program is running

前端 未结 0 979
隐瞒了意图╮
隐瞒了意图╮ 2021-02-04 06:09

I want to listen to the output of a program written in AutoIT. I start the program with :

p = Popen(shlex.split(args),stdout=PIPE, stdin=PIPE, bufsize=1)
<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题