Return exit codes from RunCommand* calls

Ref GH-9