Skip to content

Failure when used from a wxPerl GUI app on Windows #62

@sciurius

Description

@sciurius

When Capture::Tiny is used from a wxPerl GUI app on Windows it fails with

 : Error from open(IO::Handle=GLOB(0xe2346b8), >&STDOUT): Bad file descriptor at C:/Users/Johan/ChordPro/pp/windows/build/script/../lib/Capture/Tiny.pm line 107.
        Capture::Tiny::_open(IO::Handle=GLOB(0xe2346b8), ">&STDOUT") called at C:/Users/Johan/ChordPro/pp/windows/build/script/../lib/Capture/Tiny.pm line 184
        Capture::Tiny::_copy_std() called at C:/Users/Johan/ChordPro/pp/windows/build/script/../lib/Capture/Tiny.pm line 357
        Capture::Tiny::_capture_tee(1, 1, 0, 0, CODE(0xe1f9530)) called at C:/Users/Johan/ChordPro/pp/windows/build/script/../lib/ChordPro/Delegate/ABC.pm line 991

I assume this is caused by the fact that a Windows GUI app has no STDIN, STDOUT and STDERR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions