Re: How to escape from debugger loop if *STANDARD-INPUT* is redirected?
Josef Wolf <[email protected]> Fri, 14 Feb 2025 18:39:48 +0100
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Feb 14, 2025 at 05:12:39PM +0100, Nicolas Martyanoff wrote: > Josef Wolf <[email protected]> writes: > > > On Fri, Feb 14, 2025 at 09:02:17AM -0500, Douglas Katzman wrote: > >> I would imagine you want to just disable the debugger for any SBCL used in > >> a pipeline, no? > >> You can use --disable-debugger on the command-line or (disable-debugger) in > >> a script to do that > > > > I think I'll use > > > > (unless (interactive-stream-p *standard-input*) > > (disable-debugger)) > > > > although inserting this into every script seems to be somewhat tedious.. > > The --script command line option is probably what you want if you are > running programs non-interactively, as part of the shell pipeline. I am using save-lisp-and-die currently. Is this obsolete? -- Josef Wolf [email protected]