HipByte/RubyMotion — pull request #37 by denofevil (2012-09-13 11:48:22+00:00)
Title: do not launch stty when stdout is not tty to prevent error message

Currently stty command is launched at rake script end unconditionally, resulting in error message
```
stty: stdin isn't a terminal
```
when executing rake from another process or when using pipe to pass it's output to some other command.
This patch makes it run stty only if stdout is tty