[Libreoffice] [Libreoffice-ux-advise] UI disaster on Windows: soffice -h

Tor Lillqvist tml at iki.fi
Mon Jan 9 02:57:19 PST 2012


> I'll also try what Stephan suggested, i.e. if we can print to stdout
> in Windows, too.

Note that one layer of silly wrapping could probably be dropped by
using AttachConsole(ATTACH_PARENT_PROCESS) followed by freopen()ing
stdout and stderr to CONOUT$. AttachConsole() is present on XP and
later.

--tml


More information about the LibreOffice mailing list