String s = Joiner.on(",").join(command.getEnvironment().keys());
log.info("Environment keys set: " + s);
}
ProcessExecution execution = executeCommandUnchecked(command);
if (execution.getExitCode() != 0) {
throw new ProcessExecutionException("Unexpected exit code from running command. Command="
+ command.toString(), execution);
}
return execution;
}