set the tty readable flag on creation for it to be able to read windows stdin