Skip to content

figure out how to fix STDOUT closing under Windows properly #2

@eqv

Description

@eqv

print should work in the at_exit function. Under Linux we duplicate the STDOU fd and reopen it before calling at_exit. Figure out how to do that in Windows.

Relevant Code:
https://github.com/hexgolems/pint/blob/master/src/lua.cpp#L90-L100

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions