Return captured output on error
Merge pull request #9 from tuncer/sh-error

Return captured output on error