On Wed, Nov 19, 2025 at 01:13:23AM -0800, ToddAndMargo via perl6-users wrote:
> Hi All,
> 
> https://github.com/rakudo/rakudo/blob/main/src/core.c/Proc.rakumod
> 232: multi sub run(*@args where .so, :$in = '-', :$out = '-', :$err = '-',
> 
> Here is my confusion.  The above sets
>    :$in = '-', :$out = '-', :$err = '-',
> to "-" as the default.
> 
> But if you leave
>    :$out  and :$err
> off the run line, STDOUT and STDERR do not
> get captured and are sent to the console.

...that's exactly what "-" means.

G'luck,
Peter

-- 
Peter Pentchev  [email protected] [email protected] [email protected]
PGP key:        https://www.ringlet.net/roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13

Attachment: signature.asc
Description: PGP signature

Reply via email to