Re: proc?
[email protected] (ToddAndMargo via perl6-users) Wed, 29 Oct 2025 04:04:03 -0700
| Newsgroups | perl.perl6.users |
|---|---|
| Message-ID | <[email protected]> |
On 10/29/25 4:00 AM, Bruce Gray wrote: > > >> On Oct 29, 2025, at 05:51, ToddAndMargo via perl6-users <[email protected]> wrote: >> >> Hi All, >> >> I use "run" a lot. >> >> https://docs.raku.org/routine/run >> >> It looks to me like "proc" is an OOP construction. >> >> Where do I find its declaration so I can figure out >> what all its members are? (The above link does not >> define it or I am blind.) >> >> So far I know: >> $proc.exitcode >> $proc.err.slurp(:close) >> $proc.out.slurp(:close) >> >> Yours in confusion, >> -T > > In https://docs.raku.org/routine/run , in the sentence "Runs an external command without involving a shell and returns a Proc object.", the word "Proc" is a link to https://docs.raku.org/type/Proc . > > That link contains the list of methods: > new > sink > spawn > shell > command > Bool > pid > exitcode > signal > > Let's say "bleary-eyed"; kinder than "blind", and much more temporary :^) I see "exitcode", but I do not see .err or .out. Time to wash my eyes out?