Skip to content

process,tty: allow reading/writing from duplex sockets

As of libuv 1.23.1, the direction of OS-level streams is automatically detected, meaning that reading from stdout/stderr and writing to process.stdin are working again. Making this work completely (i.e. no error when the stream ends) requires some additional fixups to our stdio code.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading