On Fri, 31 Aug 2018 19:29:47 +0200, Stéphane AULERY <s.aul...@narbonneaccessoires.fr> wrote:
> When I use the -init option the .exit statement > at the end of my script is never executed. > > I launch sqlite from a batch file on Windows Server 2012 and Windows 7 64 bit. > > Command line : > sqlite3.exe -init myscript.scr If you want a script to exit, use redirection: sqlite3.exe <myscript.scr The -init option is meant to run a specific initialization before the main script is executed. You can do something like: sqlite3.exe -init initscript.scr <myscript.scr -- Regards, Kees Nuyt _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users