Don't prompt for questions when stdin is not a tty.