Skip to content

stdout_sink raises exception in GUI (non-console) Windows App #1828

@dgehri

Description

@dgehri

Regression after fix for Issue #1675 : With this fix, creating a stdout_sink in an GUI (non-console) application now throws an exception, because the call ::_get_osfhandle(::fileno(file)); now fails, whereas the previous version would allow the sink to be created.

So where a GUI app previously would log to the debugging console, it now throws an Exception. This is a regression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions