SQLite Forum

run shell commad in c++
Login
You have a few options to accomplish this. One would be to run the SQLite CLI shell in a child process with I/O redirection to drive its input and cause its output to reach your c++ console app's standard output. Another would be to incorporate into your app the same code from shell.c that produces the styles of output you like.