[Openmcl-devel] return return code from CCL

Gary Byers gb at clozure.com
Sun Dec 14 06:10:30 UTC 2008


CCL:QUIT takes an optional argument that defaults to 0; if the value
of that argument is a (SIGNED-BYTE 32), the value is passed to #__exit
and becomes the exit status of the process.

On Sat, 13 Dec 2008, Charles Martin wrote:

> This is probably a noob question, be kind.  Is there a way to return a
> UNIX return code to the environment?
>
> Ideally, I'd like to be able to do something like
>
> $ ccl --load mycode.lisp --eval '(my-test-suite)' --batch
>
> and return a value to the UNIX environment so I can use it in a script.
>
> Thanks
>
> Charlie Martin
>
> -- 
> http://explorations.chasrmartin.com
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>



More information about the Openmcl-devel mailing list