Re: [Firebird-devel] Stdin redirection with pipe in Windows ISQL

2022-06-15 Thread Dmitry Yemanov
15.06.2022 22:56, Adriano dos Santos Fernandes wrote: 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

Re: [Firebird-devel] Stdin redirection with pipe in Windows ISQL

2022-06-15 Thread Adriano dos Santos Fernandes
On Wed, Jun 15, 2022 at 6:31 PM Dimitry Sibiryakov wrote: > Adriano dos Santos Fernandes wrote 15.06.2022 21:56: > > Are there any reason for that? > >MSYS (and I suspect WSL as well) bash is using unnamed pipes to > redirect > input and output of applications into its window. Without conside

Re: [Firebird-devel] Stdin redirection with pipe in Windows ISQL

2022-06-15 Thread Dimitry Sibiryakov
Adriano dos Santos Fernandes wrote 15.06.2022 21:56: Are there any reason for that? MSYS (and I suspect WSL as well) bash is using unnamed pipes to redirect input and output of applications into its window. Without considering pipes as console they are blind. I know no way to distinguish

[Firebird-devel] Stdin redirection with pipe in Windows ISQL

2022-06-15 Thread Adriano dos Santos Fernandes
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: S