Dan Kegel wrote:
Eric Pouech wrote:

Dan Kegel wrote:

OK, so with the normal X11 driver, you can no longer
redirect stdout from commandline apps under Wine;
the output just vanishes if you try to send it to a file.


it works just fine here (at least for simple programs).
does your program involves the creation of a child process, which actually does this output (this may be indeed broken)


Not sure.  It's ss.exe from MS Source Safe.  Next time I
try it I'll check for child processes.

you could also try this patch to see if this helps A+


-- Eric Pouech
Index: scheduler/process.c
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/scheduler/process.c,v
retrieving revision 1.225
diff -u -r1.225 process.c
--- scheduler/process.c 3 Jul 2003 18:23:10 -0000       1.225
+++ scheduler/process.c 12 Aug 2003 19:33:12 -0000
@@ -329,7 +329,10 @@
     /* Create the process heap */
     current_process.heap = HeapCreate( HEAP_GROWABLE, 0, 0 );
 
-    if (info_size == 0)
+    if (main_create_flags == 0 &&
+       process_pmts.hStdInput  == 0 &&
+       process_pmts.hStdOutput == 0 &&
+       process_pmts.hStdError  == 0)
     {
        /* This is wine specific: we have no parent (we're started from unix)
          * so, create a simple console with bare handles to unix stdio 

Reply via email to