title: Piping a program that uses WriteConsole
body: <p>I wanted to call _popen to get the results from an executable but it was blanking out.</p>
  
  <p>I looked in debugger and found out the program uses Kernel32.WriteConsoleW to write a unicode string to the console, instead of using stdout.</p>
  
  <p>How do I capture it?</p>