
1) Stop trying to read anything if the console is hooked up to /dev/null 2) Don't even bother in the first place if --noconsole is used as an argument.
1) Stop trying to read anything if the console is hooked up to /dev/null 2) Don't even bother in the first place if --noconsole is used as an argument.