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

Reply via email to