Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Odd behavior using MULTIOS



> On 11 November 2020 at 17:11 Clinton Bunch <cdbunch@xxxxxxxxxxx> wrote:
> Another thing I noticed is that MULTIOS doesn't appear to work with exec
> 
> i.e.
> 
> exec 3>/tmp/test1 3>/tmp/test2
> 
> causes the script to hang.
> 
> I'm not sure why.  Am I just being dense today?

That sounds like a real bug.  The implementation is going to be a little
different for this case, indeed we effectively get a coprocess so anyone
fixing it may have their work cut out, but I'm not aware of any actual
expectation that it doesn't work, and certainly not that it hangs.

pws




Messages sorted by: Reverse Date, Date, Thread, Author