CommandExecutor process = CommandExecutor.execute(new String[]{
interpreterPath, "--version",
}, 5000);
if(process.getReturnCode() == -1){
process.destroy();
logger.error("ruby command timed out.");
throw new RuntimeException("ctags command timed out.");
}else if(process.getReturnCode() > 0){
logger.error("ruby command error: " + process.getErrorMessage());
throw new RuntimeException("ruby error: " + process.getErrorMessage());