Re: redirecting stdout with WineLib

2004-03-25 Thread Boaz Harrosh
Alexandre Julliard wrote: Ferenc Wagner <[EMAIL PROTECTED]> writes: Unfortunately this is exactly what the ok() and trace() macros do in the tests. In the light of this I'm surprised that the cross compiled binaries work under Wine. Is there a fundamental reason that it can't work under Wine

Re: redirecting stdout with WineLib

2004-03-25 Thread Dimitrie O. Paun
On Thu, 25 Mar 2004, Alexandre Julliard wrote: > The Windows std handles get redirected but not the Unix ones, so if > the Winelib app is using Unix stdio functions the redirection won't > have any effect. Too bad -- having the Windows std handles tied to the Unix ones would be rather useful for

Re: redirecting stdout with WineLib

2004-03-25 Thread Alexandre Julliard
Ferenc Wagner <[EMAIL PROTECTED]> writes: > Unfortunately this is exactly what the ok() and trace() > macros do in the tests. In the light of this I'm surprised > that the cross compiled binaries work under Wine. Is there > a fundamental reason that it can't work under WineLib, or is > it a simp

Re: redirecting stdout with WineLib

2004-03-25 Thread Alexandre Julliard
Ferenc Wagner <[EMAIL PROTECTED]> writes: > 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 CreateProc

Re: redirecting stdout with WineLib

2004-03-25 Thread Ferenc Wagner
Alexandre Julliard <[EMAIL PROTECTED]> writes: > Ferenc Wagner <[EMAIL PROTECTED]> writes: > >> 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

Re: redirecting stdout with WineLib

2004-03-25 Thread Ferenc Wagner
Eric Pouech <[EMAIL PROTECTED]> writes: > Ferenc Wagner a écrit : > >> 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_USESTDHANDL

Re: redirecting stdout with WineLib

2004-03-25 Thread Eric Pouech
Ferenc Wagner a écrit : Hello, 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 .exe.so from t

redirecting stdout with WineLib

2004-03-25 Thread Ferenc Wagner
Hello, 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 .exe.so from the WineLib version, the