Fix up kadmin interface

pull/1/head
Timothy Pearson 12 years ago
parent 7b7565e7f5
commit 937cb8d130

@ -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", "");

Loading…
Cancel
Save