[Patches] getpath patch (repost)

Guido van Rossum guido@python.org
Thu, 25 May 2000 12:08:45 -0500


> (*) Is there some sort of standard on exit codes in POSIX ?
> Python uses 2 for some less troublesome cases in Modules/main.c...

The only universal convention, adhered to by many Unix tools and
everything I've written in Python, is 2 for command line errors and 1
for errors encountered during execution.  Anything else is specific to
each program so it's probably not appropriate to use other values.

--Guido van Rossum (home page: http://www.python.org/~guido/)