[unixODBC-support] How to return an error code to the shell from isql

Nick Gorham nick at lurcher.org
Thu Nov 14 23:03:57 GMT 2013


On 14/11/13 22:28, Coughlin, Errick R wrote:
>
> Something strange I've noticed about the isql command, the output when 
> errors occur don't seem to go to standard error or standard out, is 
> isql using a custom file descripter when errors occur? I would like to 
> redirect [ISQL]ERROR: Could not SQLExecute to a file when I execute isql.
>
> Thanks,
>

Checking the source it just uses stderr.

-- 
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20131114/58619855/attachment.html>


More information about the unixODBC-support mailing list