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.
When Capture::Tiny is used from a wxPerl GUI app on Windows it fails with
I assume this is caused by the fact that a Windows GUI app has no STDIN, STDOUT and STDERR.