|
|
@ -916,6 +916,14 @@ TQString readFullLineFromPtyProcess(PtyProcess* proc) {
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
result = result + TQString(proc->readLine(false));
|
|
|
|
result = result + TQString(proc->readLine(false));
|
|
|
|
tqApp->processEvents();
|
|
|
|
tqApp->processEvents();
|
|
|
|
|
|
|
|
if (!TQFile::exists(TQString("/proc/%1/exe").arg(proc->pid()))) {
|
|
|
|
|
|
|
|
result.replace("\n", "");
|
|
|
|
|
|
|
|
result.replace("\r", "");
|
|
|
|
|
|
|
|
if (result == "") {
|
|
|
|
|
|
|
|
result = "TDE process terminated";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
result.replace("\n", "");
|
|
|
|
result.replace("\n", "");
|
|
|
|
result.replace("\r", "");
|
|
|
|
result.replace("\r", "");
|
|
|
|