On 1/14/16, Matthew Allen <memecode at gmail.com> wrote: > It seems that sqlite3.exe (console) doesn't work as a subprocess with > pipes. >
Yeah it does. The test suite does this, in the shellN.test test scripts (N=1..5, ex: https://www.sqlite.org/src/artifact/ce5e744870387164) Those these are written in TCL, not in Python, and TCL does go through a lot of gyrations to make sure pipes work in a civilized manner. So I'm not saying that this is easy to pull off. But it does work. -- D. Richard Hipp drh at sqlite.org