Commit 25843e7
committed
Add workaround for DuckDB v1.5.0 stdin bug
DuckDB CLI v1.5.0 has a bug that causes it not to execute scripts that
are piped to stdin. The bug only occurs when stdout is a TTY (in that
code path, DuckDB colorizes its output). So the workaround is to pipe
duckdb's output through cat.
References:
duckdb/duckdb#21253
https://duckdb.org/docs/current/guides/troubleshooting/command_line1 parent 2208d66 commit 25843e7
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments