MATSUNO★Tokuhiro > Proc-Class > Proc::Class::Status

Download:
Proc-Class-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Proc::Class::Status - exit status object

METHODS ^

ok $status->is_exited()

returns true if the child terminated normally

ok $status->is_signaled()

returns true if the child process was terminated by a signal.

ok $status->is_stopped()

returns true if the child process was stopped by delivery of a signal

is $status->termsig(), 5;

returns the number of the signal that caused the child process to terminate.

ok $status->coredump();

returns true if the child produced a core dump.

is $status->exit_status(), 0;

returns the exit status of the child.

SEE ALSO ^

Proc::Class

syntax highlighting: