Subject | Re: [firebird-support] how to auto quit a non-interactive session ? |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2018-06-26T21:29:18Z |
26.06.2018 15:05, Miguel Rozsas miguel@... [firebird-support] wrote:
used during server build: echo create database \'$(SECURITY_TMP)\'\; | $(RUN_ISQL)
--
WBR, SD.
> echo "show tables;" | /usr/bin/isql-fb -user whatever -pas whateverRemove quotes around SQL command and escape semicolon. It is exactly way how isql is
> 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.
used during server build: echo create database \'$(SECURITY_TMP)\'\; | $(RUN_ISQL)
--
WBR, SD.