The STDIN, the STDOUT, and the STDERR redirections do not work in a WOW64 child process if the CreateProcessWithTokenW function creates the child process
Consider the following scenario:
- You have a computer that is running a 64-bit version of Windows Server 2008 or Windows Vista.
- On this computer, a process calls the CreateProcessWithTokenW function to create a child process that runs under Windows 32-bit on Windows 64-bit (WOW64).
- The WOW64 child process is created to redirect standard input (STDIN), standard output (STDOUT), and standard error (STDERR).
In this scenario, the redirections do not work in the WOW64 child process. Therefore, any applications or services that depend on the redirection feature do not work.
For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB971163.