Return exit code
Address code reviews
Address code review
Merge branch 'master' into returnExitCode
Merge pull request #711 from Microsoft/returnExitCode

Return exit code