[Wine] Unbuffered stdout?

James McKenzie jjmckenzie51 at earthlink.net
Wed Sep 17 23:19:31 CDT 2008


dkok wrote:
> Hello,
>
> I'm running a DOS mode text program under Wine via a Mac OSX Objective-C/Cocoa program.  I use NSTask to run Wine and capture stdin, stdout and stderr via NSPipes.  I'm having an issue where output from the DOS mode text program doesn't get to the Objective-C/Cocoa program until after the program ends in Wine.  I think this is happening because stdout is buffered.
>
> Is there a way to cause Wine to treat stdout and stderr as unbuffered?
>   
Not that I know of.  However,  you might have more luck using Dosbox or
another DOS emulator on your Mac.  Wine is a Windows API setup and does
not run command line DOS programs very well.

James McKenzie




More information about the wine-users mailing list