[r6rs-discuss] Script exit code
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Thu Oct 5 07:49:28 EDT 2006
Michael Sperber <sperber at informatik.uni-tuebingen.de> writes:
> When the default exception handler of the script is invoked, the
> script is assumed to have run unsuccessfully.
I think the exit-code condition doesn't necessarily mean that the
script is unsuccessful. It may be used as a mere non-local exit
when the exit code is something innocent like 0.
For example a parser of script parameters might exit this way when it
recognizes --help or --version, to leave the normal control flow for
the normal usage of the program.
__("< Marcin Kowalczyk
\__/ qrczak at knm.org.pl
More information about the r6rs-discuss