.command("cmd", "/C", quote(script.getAbsolutePath()))
.execute().getExitValue();
} catch (IOException e) {
String message = String.format("Unable to run script: %s", script);
logger.error(message, e);
throw new ConverterAccessException(message, e);
} catch (InterruptedException e) {
String message = String.format("Thread responsible for running script was interrupted: %s", script);
logger.error(message, e);
throw new ConverterAccessException(message, e);
} catch (TimeoutException e) {
String message = String.format("Thread responsible for running script timed out: %s", script);
logger.error(message, e);
throw new ConverterAccessException(message, e);
}
}