execCmd = execCmd.replace("&", "");
}
List<String> commandList = new ArrayList<String>();
commandList.add(execCmd);
CmdProcessBuilder cmdProcessBuilder = new CmdProcessBuilder();
if (cmdProcessBuilder.execMultipleCommands("", commandList)) {
String successMsg = bundle.getString("ExecButtonSuccessMsg");
successMsg += "\n\nExecution Message:\n" + cmdProcessBuilder.getExecSuccessfulMsg();
ADVISORY_LOGGER.info(successMsg);
} else {
String errorMsg = bundle.getString("ExecButtonFailedMsg");
errorMsg += "\n\nError Message:\n" + cmdProcessBuilder.getExecFailedMsg();
ADVISORY_LOGGER.error(errorMsg);
}
}