Capture output of process synchronously (i.e. “when it happens”)

前端 未结 6 1413
灰色年华
灰色年华 2020-12-18 18:50

I am trying to start a process and capture the output, have come a far way, but am not quite at the solution I\'d want.

Specifically, I am trying to reset the IIS on

6条回答
  •  暖寄归人
    2020-12-18 19:41

    To do autoflushing of printfs / stdouts

    C equivalent of autoflush (flush stdout after each write)?

    This saved my ass...

提交回复
热议问题