Clinton James, on Thursday, August 8, 2019 11:47 AM, wrote...
>
> [lab-6]: PS C:\swimage\release\utilities> .\sqlite3.exe -version
> 3.29.0 2019-07-10 17:32:03 
> fc82b73eaac8b36950e527f12c4b5dc1e147e6f4ad2217ae43ad82882a88bfa6
> [lab-6]: PS C:\...\utilities> .\sqlite3.exe dummy.db
> [lab-6]: PS C:\...\utilities> $LastExitCode
> 0
This is the wrong behaviour.  What you are doing is opening the SQlite3 tool to 
create a db call dummy.db, and write stuff to it.  Once you are done, you would 
close it and you have a db with stuff on it. Or not, if you didn't do anything.

> Here is the same when using Powershell through remote desktop connection.
>
> PS C:\...\utilities> .\sqlite3.exe -version
> 3.29.0 2019-07-10 17:32:03 
> fc82b73eaac8b36950e527f12c4b5dc1e147e6f4ad2217ae43ad82882a88bfa6
> PS C:\...\utilities> .\sqlite3.exe dummy.db
> SQLite version 3.29.0 2019-07-10 17:32:03
> Enter ".help" for usage hints.
> sqlite> .q
This is the correct behaviour.  this is what I get when I try it right from my 
machine:
PS C:\D\bin> ./sqlite3 -version
3.29.0 2019-07-10 17:32:03 
fc82b73eaac8b36950e527f12c4b5dc1e147e6f4ad2217ae43ad82882a88bfa6
PS C:\D\bin> .\sqlite3 test.db
SQLite version 3.29.0 2019-07-10 17:32:03
Enter ".help" for usage hints.
sqlite> .q
PS C:\D\bin> $LastExitCode
0

Maybe I am misunderstanding something.  Which has happened before in my life...

josé
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to