SQLite Forum

Strange CLI .exit issue
Login
A possibly pertinent question is _why_ you sometimes have 120 lines or more in your script file after the `.exit` command?

On the face of it, if you have a script to some program, and that program stops consuming the script, then "something has gone wrong", and it doesn't seem unreasonable to indicate an error. In your case, _it seems_ you have "a script + something else" (the stuff after the `.exit`)... my first instinct (without knowing more, hence the question) is to say the error is in the script for having (seemingly) superfluous lines in it.