Yes, this is a known issue (https://github.com/libuv/libuv/issues/2062). In my experience, embedding applications should probably always pass `dup(0)` etc. to libuv to avoid these sorts of problems.
On Mon, Oct 19, 2020 at 8:26 PM Renato Maia <maia.ren...@gmail.com> wrote: > On Mon, Oct 19, 2020 at 9:23 PM Renato Maia <maia.ren...@gmail.com> wrote: > > The attached code illustrates the behavior. The output is: > > Sorry, I forgot to attach the file. Here it is. > > -- > Renato Maia > > -- > You received this message because you are subscribed to the Google Groups > "libuv" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to libuv+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/libuv/CAB-PuDrb953b9XFYVdrOQ2XQUBOBdPBHJMUCsi5GL0KT3j7K5w%40mail.gmail.com > . > -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to libuv+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/libuv/CADnnjUUJeSSoXRCSR%3D63mKHO2NpWB-b%2BzMVRG3U3G3Y0Fqa3UQ%40mail.gmail.com.