Why not show the warning on exit only if an in memory database is in use. Likewise by default open in memory unless a path is specified.
On Monday, 10 February 2014, Richard Hipp <d...@sqlite.org> wrote: > On Mon, Feb 10, 2014 at 12:51 PM, <to...@acm.org <javascript:;>> wrote: > > > I second the idea of a kind of "WARNING: All your work will be lost, are > > you sure you want to quit? (y/N)" on trying to exit, but *ONLY* if the > > application was started by (double-)clicking on it, otherwise the warning > > will be a nuisance when running test scripts. > > > > I think I know how to detect a double-click launch versus a command-line > launch on windows. But I don't know how to do this, or even if it is > possible to do, on Mac or Linux. Anybody have any ideas? > > > -- > D. Richard Hipp > d...@sqlite.org <javascript:;> > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org <javascript:;> > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users