http://bugs.winehq.org/show_bug.cgi?id=8022
------- Additional Comments From dmitry@codeweavers.com 2007-16-04 21:50 ------- Jason, your test uses msvcrt to read the output file, and that might involve conversions of input data, you have to use CreateFile/ReadFile instead.
You really need to investigate msvcrt and cmd.exe problems separately.