> Is anyone aware of another technique for preventing interactive mode from
> running?  I've seen this method:
>
> Sqlite3 -init new.sql new.db .exit

How about
sqlite3 new.db ".read new.sql"


Pavel


On Thu, Jul 14, 2011 at 5:20 PM, Marvin Bellamy
<marvin.bell...@innovision.com> wrote:
> I want to run sqlite3 from a script (actually from a ToolTask in the MSBuild
> environment) and get it to create a database without dropping into
> interactive mode.  It looks like ToolTasks don't like the redirection
> operator (they're interpreted as string literals), so this won't work:
>
>
>
> Sqlite3  new.db < new.sql
>
>
>
> Is anyone aware of another technique for preventing interactive mode from
> running?  I've seen this method:
>
>
>
> Sqlite3 -init new.sql new.db .exit
>
>
>
> But, I 'd rather interactive mode not start at all.
>
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> 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

Reply via email to