[Bug 51719] New: _pclose() does not cause child stdin to report EOF