Hi! In Linux, when we do:
echo "select 1 from rdb\$database; select 2 from rdb\$database;" | isql t.fdb It shows: CONSTANT ============ 1 CONSTANT ============ 2 In Windows, echo select 1 from rdb$database; select 2 from rdb$database; | isql t.fdb It shows: SQL> CONSTANT ============ 1 SQL> CONSTANT ============ 2 The difference is due to stdin_redirected() considering file_type == FILE_TYPE_PIPE as a not redirection. I think this is wrong. Are there any reason for that? Adriano Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel