NOTE: adapted from Symfony's `Process\Pipes\WindowsPipes` (same original author) -- [`Process`](https://mmoframework.fr/documentation/mmo.core/php/server/Process.md#process) is the only
real consumer; used internally, not meant to be constructed directly. Windows-only; not exercisable/testable
on this (Linux) development environment.
Write any pending input, then read whatever's newly appeared in stdout/stderr's backing temp files ($readBytes tracks how much of each has already been read).
the proc_open() descriptor spec: stdin as a pipe, stdout/stderr redirected to NUL (actual output is captured via the temp files instead -- see the class docblock and getFiles).
Write any pending input, then read whatever's newly appeared in stdout/stderr's backing temp files ($readBytes tracks how much of each has already been read).
function readAndWrite(bool $blocking, bool $close = false): array