Check for existence of isatty on stdout before calling it
Merge pull request #3588 from Atte/devel

Check for existence of isatty on stdout before calling it