SQLite Forum

Strange CLI .exit issue
Login
It was not a "crash". It was a "read stdin to end-of-stream." That condition can be effected by typing control-Z at the beginning of a line on Windows.

No comment on checking for stdin_is_interactive, except this: I dislike programs that act differently depending on whether input or output is redirected. It complicates the mental model, and compromises modularity.