[Larceny-users] no exit status?

William D Clinger will at ccs.neu.edu
Sun Feb 28 20:26:13 EST 2016


Jon Wells wrote:

>   I don't seem to be able to get larceny to return a status to the OS...

I think that's a bug in Larceny v0.98 that's been fixed in the current
development system:

% larceny
Larceny v0.98 "General Ripper" (Mar  7 2015 01:24:18, precise:Posix:unified)
larceny.heap, built on Sat Mar  7 01:25:38 EST 2015

> (exit 42)
% echo $?
0
% ./larceny
Larceny v0.98+ "General Ripper" (Feb 28 2016 20:08:51, precise:Posix:unified)
larceny.heap, built on Sun Feb 28 20:10:06 EST 2016

> (exit 42)
% echo $?
42

Please see whether the problem is present in the nightly build:

    http://larceny.ccs.neu.edu/nightly/

Tests of the exit status have been added to Larceny's R7RS tests,
and the nightly builds have been passing those tests, but there's
always the possibility of a bum test or some system-specific problem.

Will



More information about the Larceny-users mailing list