26.06.2018 15:05, Miguel Rozsas mig...@apice.com.br [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. ------------------------------------ ------------------------------------ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Visit http://www.firebirdsql.org and click the Documentation item on the main (top) menu. Try FAQ and other links from the left-side menu there. Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ------------------------------------ Yahoo Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/firebird-support/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/firebird-support/join (Yahoo! ID required) <*> To change settings via email: firebird-support-dig...@yahoogroups.com firebird-support-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: firebird-support-unsubscr...@yahoogroups.com <*> Your use of Yahoo Groups is subject to: https://info.yahoo.com/legal/us/yahoo/utos/terms/