Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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