if (workingDir != null) {
cmdExecutor.setWorkingDirectory(workingDir);
}
long startTime = System.nanoTime();
try {
int exitStatus = cmdExecutor.runCommand(command);
r.setSuccess(exitStatus == 0);
r.setReport(cmdExecutor.getCommandError());
if (r.isSuccess() && "".equals(r.getReport())) {
String report = cmdExecutor.getCommandOutput();