redirecting stdout with WineLib

Ferenc Wagner wferi at
Thu Mar 25 09:07:43 CST 2004


Hacking away on winetest I encountered the following
problem: under Windows and Wine (running cross compiled
binaries) it's possible to redirect the stdout of a child
process with CreateProcess using STARTF_USESTDHANDLES.
However, if I CreateProcess an from the WineLib
version, the redirection is ignored.  The create_process
function in process.c acts on this option in both cases, but
I didn't investigate further.  Does anybody have an idea why
this happens?

More information about the wine-devel mailing list