CC: | "Maxim, Michael" <michael.maxim [...] intel.com> |
Subject: | inconsistent behaviour in packed script |
Date: | Fri, 9 Aug 2013 22:31:17 +0000 |
To: | "bug-IO-Interactive [...] rt.cpan.org" <bug-IO-Interactive [...] rt.cpan.org> |
From: | "Maxim, Michael" <michael.maxim [...] intel.com> |
distribution: io-interactive 0.0.6
perl version: v5.8.9 built for MSWin32-x86-multi-thread
os: win7 enterprise, 64bit SP1
related distribution: PAR-Packer 1.012
Issue:
using io-interactive in a PAR packed script (e.g. .exe created with "pp -0 exname.exe scriptname.pl") gives inconsistent results.
Detail:
when .exe is run from command line, print statements with {interactive} filehandle works as expected and output to terminal, but logical checks with "is_interactive()" return false.