Lisp HUG Maillist Archive

Calling LW:QUIT always returns status 1 in LWW 6.1.1

Hello list,

I'm trying to get my application(s) to exit as soon as an error is raised, Erlang-style. When I call (LW:QUIT :STATUS 2 :IGNORE-ERRORS-P T) in my error handler, my Windows batch file reports an ERRORLEVEL of 1. In fact, when the program exits normally the exit code is also 1.

My applications are stand-alone executables produced via DELIVER.

Can anyone suggest what the problem might be?

Cheers,

John :^P
--
John Pallister
john@johnp.net
john@synchromesh.com


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Re: Calling LW:QUIT always returns status 1 in LWW 6.1.1

Oh dear… turns out the problem had nothing to do with my LWW app. Sorry for the noise.

On 27/08/2013, at 7:44 PM, John Pallister <john@synchromesh.com> wrote:

> Hello list,
> 
> I'm trying to get my application(s) to exit as soon as an error is raised, Erlang-style. When I call (LW:QUIT :STATUS 2 :IGNORE-ERRORS-P T) in my error handler, my Windows batch file reports an ERRORLEVEL of 1. In fact, when the program exits normally the exit code is also 1.
> 
> My applications are stand-alone executables produced via DELIVER.
> 
> Can anyone suggest what the problem might be?
> 
> Cheers,
> 
> John :^P
> --
> John Pallister
> john@johnp.net
> john@synchromesh.com
> 


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Updated at: 2020-12-10 08:35 UTC