Don't make the opened file the controlling terminal of this process.
const FILE_NO_CONTROLLING_TERM: FileFlags = FileFlags(O_NOCTTY);
open(2) and O_NOCTTY therein