[ruby-talk:02574] Re: exit statii

From: matz@... (Yukihiro Matsumoto)
Date: 2000-04-26 04:39:20 UTC
List: ruby-talk #2574
Hi,

In message "[ruby-talk:02573] exit statii"
    on 00/04/25, Dave Thomas <Dave@thomases.com> writes:

|One of our reviewers has pointed out that to be POSIX compliant, Ruby
|should use exit(EXIT_FAILURE) for Kernel::abort, rather that exit(1).
|
|I don't the first thing about POSIX. Is this correct. Should we be
|using EXIT_SUCCESS and EXIT_FAILURE?

I'm not the POSIX expert.  As far as I know, neither Perl nor Python
use the constant EXIT_FAILURE for their exit status.

							matz.

In This Thread

Prev Next