Код: Выделить всё
boolean is*UsingPTY = ((properties.get("process") == null) &&(PTY.isSupported(PTY.Mode.TERMINAL)))
|| ((properties.get("pty") instanceof PTY));
boolean localEcho = false;
if ((!properties.containsKey("localEcho")) || (!(properties.get("localEcho") instanceof Boolean))) {
if ("win32".equals(Platform.getOS())) {
localEcho = !isUsingPTY;
}
} else {
localEcho = ((Boolean) properties.get("localEcho")).booleanValue();
}
String lineSeparator = null;
if ((!properties.containsKey("lineSeparator")) || (!(properties.get("lineSeparator") instanceof String))) {
if (!isUsingPTY) {
lineSeparator = "win32".equals(Platform.getOS()) ? "\\r\\n" : "\\n";
}
} else {
lineSeparator = (String) properties.get("lineSeparator");
}
....................................
PTY pty = (PTY) properties.get("pty");
ProcessSettings processSettings = new ProcessSettings();
processSettings.setPTY(pty);
Я пытался установить более старую версию cdt, но ошибка все равно появлялась
Подробнее здесь: https://stackoverflow.com/questions/784 ... 03-version