On Aug 12, 2008, at 10:09 PM, Chris Brown wrote: > Hi all > > I have an application written in C using Sqlite 3.5.9 on MontaVista > Linux. > > I am required to call the 'system()' function from within my code to > run external programs. Under normal circumstances this works without > problems. However as soon as I have used Sqlite from within my code > I am unable to successfully call the 'system()' function at any > point after that- the function will hang indefinitely without > returning a result. This will happen even if I am just calling > 'sqlite3_open' and 'sqlite3_close' to open and close a database. I > am not using Sqlite from the command line. I am currently running as > root. > > Can anyone offer any suggestions as to why this might be?
The "fossil" configuration management system (used to control the documentation of SQLite - see http://www.fossil-scm.org/ for details and http://www.sqlite.org/docsrc/timeline for an example) calls system() after sqlite3_open() in multiple places and it works just fine on Linux, OSX, various other flavors of unix, and even win32. Are you sure that SQLite is to blame here? D. Richard Hipp [EMAIL PROTECTED] _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users