Skip to content

Commit

Permalink
only exit 0 is "success" for run/shell
Browse files Browse the repository at this point in the history
  • Loading branch information
TimToady committed Sep 2, 2013
1 parent 7cc75e8 commit 0db77c8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions S29-functions.pod
Expand Up @@ -19,8 +19,8 @@ Synopsis 29: Builtin Functions

Created: 12 Mar 2005

Last Modified: 22 Aug 2013
Version: 55
Last Modified: 1 Sep 2013
Version: 56

The document is a draft.

Expand Down Expand Up @@ -570,6 +570,9 @@ of the program, and can be evaluated in the following contexts:
Bool - True = success; False = failure
Int - Exit status (per the .exit method)

Success is defined as returning an exit status of 0. Any other exit
status returns False for failure.

See C<wait> for more detail on how the C<Proc::Status> object
is used.

Expand Down

0 comments on commit 0db77c8

Please sign in to comment.