Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Mention sink behavior of Proc.
  • Loading branch information
jnthn committed Nov 5, 2015
1 parent aa5522b commit 3b936eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S29-functions.pod
Expand Up @@ -537,7 +537,8 @@ first, as does C<shell>).

Both return a C<Proc> object, which boolifies to C<True> if the program had
a successful exit and C<False> otherwise. The C<status> method on a C<Proc>
provides the exit code.
provides the exit code. If a C<False> C<Proc> is sunk, an exception will be
thrown of type C<X::Proc::Unsuccessful> will be thrown.

If you want to execute an external program asynchronously (as in, not waiting
for it to be finished), you will need C<Proc::Async>, as specced in
Expand Down

1 comment on commit 3b936eb

@fecundf
Copy link

@fecundf fecundf commented on 3b936eb Nov 8, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Editing error "will be thrown" mentioned twice: "an exception will be thrown of type C<X::Proc::Unsuccessful> will be thrown

Please sign in to comment.