Re: [sqlite] Script-friendly execution of sqlite3.exe for initializing a DB

2011-07-21 Thread Marvin Bellamy
Thanks, for the record this works but for some reason the ToolTask only sends the arguments list to the command-processor if this flag is set. So, you need to prepend the tool path and tool name to get it working. -Original Message- From: sqlite-users-boun...@sqlite.org

Re: [sqlite] Script-friendly execution of sqlite3.exe for initializing a DB

2011-07-18 Thread Jan Hudec
On Thu, Jul 14, 2011 at 16:20:56 -0500, Marvin Bellamy 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

[sqlite] Script-friendly execution of sqlite3.exe for initializing a DB

2011-07-14 Thread Marvin Bellamy
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

Re: [sqlite] Script-friendly execution of sqlite3.exe for initializing a DB

2011-07-14 Thread Pavel Ivanov
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