Correct handle when select in spawn returns with an error (e.g. SIGWINCH)
Merge pull request #33 from aho-iridium/master

Correctly handle when select in spawn returns with an error (e.g. SIGWINCH...