Skip to content

Commit 306b4e5

Browse files
committed
Minimally document Proc.pid
1 parent 76d90fa commit 306b4e5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/Type/Proc.pod6

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,12 @@ through to the shell for parsing and execution.
144144
The command method is an accessor to an array containing the arguments that were
145145
passed when the Proc object was executed via C<spawn> or C<shell> or C<run>.
146146
147+
=head2 method pid
148+
149+
method pid(Proc:D:)
150+
151+
Returns the C<$*PID> value of the process if available, or C<Nil>.
152+
147153
=head2 method exitcode
148154
149155
method exitcode(Proc:D: --> Int:D)

0 commit comments

Comments
 (0)