|Subject:||[OSX] writing more than 8192 bytes to IO::Handle causes it to hang forever|
|To:||"rakudobug [...] perl.org" <rakudobug [...] perl.org>|
|From:||Lloyd Fournier <lloyd.fourn [...] gmail.com>|
|Date:||Wed, 09 Mar 2016 10:39:06 +0000|
perl6 -e 'my $proc = run($*EXECUTABLE, "-e", q| $*ERR.print("8" x 8193);|,:out,:err);
say $proc.out.slurp-rest' #hangs forever
If you swap $*ERR with $*OUT and $proc.out with $proc.err the same thing happens. I dunno whether it's a problem with the process reading or the process writing.
I made RT #127681 ( which is the same thing and can be closed ) today. But now that I have golfed it to this I felt it deserved its own ticket.