Documentation for method exitcode assembled from the following pages:

Class: Proc §

From Proc

(Proc) method exitcode §

method exitcode(Proc:D: --> Int:D)

Returns the exit code of the external process, or -1 if it has not exited yet.