[Bug 34930] Cygwin-compiled Hello World program couldn't display output

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Feb 9 07:27:50 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=34930

--- Comment #5 from Qian Hong <fracting at gmail.com> ---
(In reply to Richard Yao from comment #3)
> Both stderr and stdout are affected. Redirecting stderr of cygwin's echo.exe
> program will reveal an additional error message:
> 
> /usr/bin/echo: write error: Bad file descriptor
> 
> Running wineconsole and then executing the program inside the graphical
> interface works. It even works if you do `wineconsole --backend=user
> /path/to/echo.exe Hello World`, but for obvious reasons, the console
> emulator exits as soon as Hello World is printed. It does not work with you
> do `wineconsole --backend=curses /path/to/echo.exe Hello World`. Running
> wineconsole with WINEDEBUG=+console,+ntdll,+relay revaled that the two
> situations execute identically until KERNEL32.GetConsoleWindow is called.
> With ---backend=user, a non-zero value is returned. With --backend=curses, a
> zero value is returned. Afterward, the execution paths diverge.
> 
> By the way, this still affects Wine 1.7.33.

oops, sorry, I didn't noticed that you already found it.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list