Modified utils.sh, spinner method to look beyond the local TTY for the PID it is supposed to wait on. This is neccessary when not running under a TTY (Called by PERL script)
Merge pull request #4 from fiesch/master

modified spinner method in utils.sh (not waiting when not under TTY)