We can't portably rely on PTY_OPEN doing that, even if it calls posix_openpt with O_CLOEXEC.
Attach a file by drag & drop or click to upload