Hello Hiroki Horiuchi,
there are two modules that should help you solve your problem:
https://github.com/sergot/IO-Capture-Simple - "IO can be captured."
https://github.com/zoffixznet/perl6-IO-MiddleMan - "hijack,
capture, or mute writes to an IO::Handle"
If IO::Capture::Simple or IO::MiddleMan are not right for you, you can
also try working with
http://doc.perl6.org/type/Proc - Proc
http://doc.perl6.org/type/Proc::Async - Proc::Async
Those two are for running commands and capturing their stdout.
On 02/03/16 08:00, Hiroki Horiuchi wrote:
Is there something like Perl 5's `stdout_is` in Perl 6?
If not, can it be implemented using NativeCall?
I am using Darwin.
Hiroki Horiuchi from Japan