[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Coproc within coproc supported?
From: |
Alex fxmbsw7 Ratchev |
Subject: |
Re: Coproc within coproc supported? |
Date: |
Wed, 16 Nov 2022 08:31:46 +0100 |
On Wed, Nov 16, 2022, 08:19 Tadeus Prastowo <0x66726565@gmail.com> wrote:
> Hi!
>
> The Bash 4.3.48 that comes shipped with Ubuntu 16.04 does not support
> multiple coprocesses, giving a warning when the second coprocess is
> created ("bash: warning: execute_coproc: coproc [16388:COPROC] still
> exists").
>
it still is same
As documented in the corresponding Bash man page, the section BUGS
> states that "[t]here may be only one active coprocess at a time."
>
to me a heavy non sense decision of bash
Is it true that the intention of the statement in the man page is that
> at most one coprocess exists for every concurrently running Bash
> process where $$ expands to the same PID?
>
> I ask the question because creating a coprocess within a coprocess
> does not raise the warning. If the answer to the question is yes,
> then the warning should be raised when a coprocess is created within a
> coprocess. If the answer is no, then the man page should clarify that
> the coproc within coproc case is allowed.
>
> Thank you.
>
sorry , had to input
--
> Best regards,
> Eus
>
>
- Coproc within coproc supported?, Tadeus Prastowo, 2022/11/16
- Re: Coproc within coproc supported?,
Alex fxmbsw7 Ratchev <=
- Re: Coproc within coproc supported?, Chet Ramey, 2022/11/16
- Re: Coproc within coproc supported?, Alex fxmbsw7 Ratchev, 2022/11/16
- Re: Coproc within coproc supported?, Tadeus Prastowo, 2022/11/17
- Re: Coproc within coproc supported?, Chet Ramey, 2022/11/17
- Re: Coproc within coproc supported?, Tadeus Prastowo, 2022/11/18
- Re: Coproc within coproc supported?, Chet Ramey, 2022/11/18
- Re: Coproc within coproc supported?, Tadeus Prastowo, 2022/11/18
- Re: Coproc within coproc supported?, Chet Ramey, 2022/11/21
- Re: Coproc within coproc supported?, Tadeus Prastowo, 2022/11/22