add utility function to improve execSync reporting & handling
Merge pull request #494 from gilmoskowitz/runCmd

add utility function to improve execSync reporting & handling