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

前端 未结 6 1409
灰色年华
灰色年华 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:21

    For my specific situation, the solution is what Mr Moses suggested in a comment above, i.e. run iisreset /stop followed by iisreset /start.

    I need a proper answer, rather than a comment, in order to mark it as my "accepted answer", so this answer is more of administrativa than a new contribution. The cred should go to Mr Moses.. :-)

提交回复
热议问题