Reset stdin, stdout fd flags on exit
In vim, lauching node as a child process would mess up the screen. This was because Node was changing the flags on STDIN_FILENO and STDOUT_FILENO (particularly adding O_NONBLOCK) but those flags leaked into the parent process.
parent
85487c82
Please register or sign in to comment