I\'ve been having a hard time getting the output of a \"sub-process\" (one launched internally by a blackbox process that I\'m monitoring via c# System.Diagnostics.Process)<
Assuming there's no more straightforward solution, you could try to run a piece a code in another process through CreateRemoteThread(), explained here.