On 11/2/25 4:55 PM, Joseph Brenner wrote:
        my $proc = run 'echo', 'Raku is Great!', :out, :err;
        $proc.out.slurp(:close).say; # OUTPUT: «Raku is Great!␤»
        $proc.err.slurp(:close).say; # OUTPUT: «␤»

Hi Joseph,

The default of both :out and :err is "-",
which is STDOUT and STDERR.  This is
similar to curl's "--output -" which send
to the STDOUT.

What I find puzzling is where else would they
be going?

Can I modify :out to :out("eraseme.txt") and
have the output go to a file (eraseme.txt)
instead of STDOUT?  That would be kind of cool.

Yours in puzzlement,
-T

Reply via email to