On 11/5/25 11:09 AM, Will Coleda wrote:
https://docs.raku.org/type/Proc#method_exitcode <https://docs.raku.org/ type/Proc#method_exitcode>

Hi Will,

Perfect!

Now it need to be added to
     https://docs.raku.org/routine/run#(Independent_routines)_sub_run

so someone reading the page that does not
already know what he is doing can find it.

"exitcode" is really, really important
as it will let you know the status of what
you just called.

The "run" documentation states:

     Runs an external command without involving a
     shell and returns a Proc object. By default, the
     external command will print to standard output
     and error, and read from standard input.

There is a link to Proc, but it is not very helpful to
those just trying to learn what is returned.

A simple discussion of what values are returned in Proc
that apply to the run command would solve this.
Especially since Proc has a lot of things in it
that does not apply to "run".

Unless I am missing it, there is a who slew of things
not declared in "Proc" either.  They do give below a simple
list of some of them: command, mulitimethod, pid,
exitcode, signal.   But now all of them.

If you look at
    https://docs.raku.org/type/Proc/Async
There is a ton of them missing.

So Proc seriously need to declare its OOP definition
(object). Everything.  Not just a sample of them.

Thank you for the link!  I added it to
my documentation

-T


Reply via email to