Adding exec method that is code pulled exec-sync

Adding exec method that is code pulled https://github.com/jeremyfa/node-exec-sync to be able to display stderr easily.