Subject Re: [firebird-support] how to auto quit a non-interactive session ?
Author Dimitry Sibiryakov
26.06.2018 15:05, Miguel Rozsas miguel@... [firebird-support] wrote:
> echo "show tables;" | /usr/bin/isql-fb -user whatever -pas whatever
> machine:dbalias
>
> The problem with the above is the connection is not closed and the end of
> sql statement and it is still waiting a quit which never comes.

Remove quotes around SQL command and escape semicolon. It is exactly way how isql is
used during server build: echo create database \'$(SECURITY_TMP)\'\; | $(RUN_ISQL)


--
WBR, SD.