Subject: | slurp program output on win32 |
Date: | Wed, 01 Aug 2012 10:45:27 +1000 |
To: | bug-Perl6-Slurp [...] rt.cpan.org |
From: | Kevin Ryde <user42 [...] zip.com.au> |
I got a cpantesters report
http://www.cpantesters.org/cpan/report/5c9097d5-7343-1014-961f-94cd4fed7701
osname=MSWin32, osvers=5.2, archname=MSWin32-x86-multi-thread
List form of pipe open not implemented at C:\Perl16\cpan\build\Perl6-Slurp-0.051001-C7bWL6/blib/lib/Perl6/Slurp.pm line 163.
which I think says that Perl6::Slurp has trouble slurping program output
on that system due to open() not supporting pipes.
As a suggestion for a feature I'd be good if Perl6::Slurp recognised
when a pipe open can't be used and instead ran the program directing
output to a temporary file and then slurped that.
I don't know if that'd be easy or hard but it'd be helpful for slurp
users not to have to worry quite how program output must captured on a
particular system.