Skip to content

Commit 48e74e0

Browse files
authored
Merge pull request #3489 from Raku/document-proc-bool
Document Proc.Bool method
2 parents e696810 + 75f93db commit 48e74e0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/Type/Proc.pod6

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,13 @@ The command method is an accessor to a list containing the arguments
192192
that were passed when the Proc object was executed via C<spawn> or
193193
C<shell> or C<run>.
194194
195+
=head2 method Bool
196+
197+
multi method Bool(Proc:D:)
198+
199+
Awaits for the process to finish and returns C<True> if both exit code and signal
200+
of the process were 0, indicating a successful process termination. Returns C<False> otherwise.
201+
195202
=head2 method pid
196203
197204
method pid()

0 commit comments

Comments
 (0)