Re: Exit with error code when stdin ends in debugger?

Sven Michael Klose <[email protected]> Sat, 14 Dec 2024 15:26:10 +0100
Newsgroups gmane.lisp.steel-bank.general
Message-ID <[email protected]>
On 10/12/2024 22:24, Andreas Franke wrote:
> Works for me, either of those ways:
> 
> sbcl --disable-debugger --eval '(error "foo")'
> 
> sbcl --script <<EOF
> (error "foo")
> EOF

Thanks! Unfortunately that'd remove the issue, not solve it, with the 
debugger gone. :)  It'd be practical to be able to exit the debugger 
manually (Ctrl-D) after tossing around things a bit, without the rest of 
the parent script (like a build script) continuing anyway.  Me thinking 
that properly running programs should never terminate that way, so, in 
theory, such feature added shouldn't spoil much.  But saying that I 
could picture the magic to try it out either.

-- 
phone:  ++49 / (0)172 / 44 1 88 56