500px / gunter

Language agnostic task wrapper and loyal servant.
MIT License
9 stars 1 forks source link

Investigate handling non-zero execute status from commands #6

Closed devonoel closed 9 years ago

devonoel commented 9 years ago

Not sure what actually happens when say a Capistrano deployment command fails. I'm catching any errors surfaced by shelljs and sequest, but how these libraries actually handle non-zero exit status is still in question. Ideally they should be throwing an error, but I'm not sure if this is the case. They may, for example, be simply returning an error message.

devonoel commented 9 years ago

sequest throws an error on non-zero exit, but shelljs does not, it simply returns the error and exit status. For shelljs, I'll have to check explicitly for non-zero exit status.