Background:
I\'m working on a program that needs to be able to capture the stdout, stderr and return values of a pro
stdout
stderr
You'll have to use pipes to capture the contents of your process's stdout stream. There's an elaborate example on MSDN on how to accomplish this:
MSDN: Creating a Child Process with Redirected Input and Output