private String runHudsuckr(String... args) {
String path = extractHudsuckr().getAbsolutePath();
log.debug("Running hudsuckr: " + path);
try {
CommandLine command = new CommandLine(path, args);
command.execute();
log.debug("Executed successfully");
String output = command.getStdOut();
if (!command.isSuccessful()) {
throw new RuntimeException("exec return code " + command.getExitCode() + ": " + output);
}
return output;
} catch (RuntimeException e) {
log.warn("Failed to execute hudsuckr successfully: ", e);
}