[refactor] remove custom exec method and use shelljs instead

/cc @janl @caolan