arturadib/shelljs — pull request #80 by nilsbunger (2013-09-09 00:21:40+00:00)
Title: Make shell.exec() treat process error return codes as shelljs errors

This PR makes shell.exec() handle error return codes the same way as other shelljs errors -- by calling common.error(). Especially in fatal mode, this makes error handling of exec more consistent with other shelljs functions.