in src/com/pty4j/windows/conpty/WinHandleInputStream.java [90:100]
void close(boolean explicit) throws IOException {
if (explicit) {
myClosedExplicitly = true;
}
if (!myClosed) {
myClosed = true;
if (!Kernel32.INSTANCE.CloseHandle(myReadPipe)) {
throw new LastErrorExceptionEx("CloseHandle stdin");
}
}
}