http://bugs.winehq.org/show_bug.cgi?id=16957
xlq jp.sittingduck+winehq@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jp.sittingduck+winehq@gmail | |.com
--- Comment #6 from xlq jp.sittingduck+winehq@gmail.com 2010-08-01 10:07:07 --- I can confirm this bug in wine-1.2. I just hit it while developing Windows code with Wine, and then moving it to Windows. The attached test.c uses a regular file but I used a pipe and got exactly the same behaviour in both Windows and Wine.
To be fair the Windows documentation is quite ambiguous on the matter. Empirically, Windows certainly doesn't do anything special with the stdio handles in STARTUPINFO.