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 that shows up when you run it interactively in a command window?
This post solved it for me. Not the output part but that I got CreateProcessWithLogonW working.