How to get standard output from CreateProcessWithLogonW?

前端 未结 3 1285
遥遥无期
遥遥无期 2021-01-07 07:41

I am using the code from http://www.pinvoke.net/default.aspx/advapi32.createprocesswithlogonw. How do I get the output from the standard output as a string? Like the stuff t

3条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-07 08:16

    Why don't you use the following overload of Process.Start Method ?

提交回复
热议问题