[Libreoffice-bugs] [Bug 112536] soffice --help displays nothing (Windows command line)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Sep 21 21:40:49 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=112536

--- Comment #2 from Aron Budea <baron at caesar.elte.hu> ---
Thanks for the code pointer!
What I see in lcl_Console constructor is that this is false:
if (GetStdHandle(STD_OUTPUT_HANDLE) == nullptr)

If I move into the 'if' in the debugger (set next statement), then it does
display the help.
However, it's not correct, because 'soffice --help' returns immediately, so
it's not holding an active console to print the text to, it just spews the text
out while the user already has the console.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170921/041c6759/attachment.html>


More information about the Libreoffice-bugs mailing list