Return exit code from ProcessHelper.runCommand