Fix stdin is not a tty
Merge pull request #48 from swipely/fix-stdin-is-not-a-tty

Fix stdin is not a tty