final Integer retCode = (Integer) task.get();
if (retCode.intValue() == BaseClient.SUCCESS_EXIT_CODE) {
print.infoln("\nRunning: '" + newDirName + "'");
} else {
print.errln("\nProblem running '" + newDirName + "'.");
throw new ExitNow(retCode.intValue());
}
} catch (InterruptedException e) {
throw new ExecutionProblem(e.getMessage(), e);
} catch (ExecutionException e) {
throw new ExecutionProblem(e.getMessage(), e);