|
|
|
@ -116,7 +116,7 @@ int procbuf::start (TQString msg, bool errorDlg,
|
|
|
|
|
if (!proc->start(!msg.isNull() ? TDEProcess::NotifyOnExit : TDEProcess::Block,
|
|
|
|
|
TDEProcess::All)) {
|
|
|
|
|
if (errorDlg) {
|
|
|
|
|
KpMsgE(i18n("Kprocess Failure"),TRUE);
|
|
|
|
|
KpMsgE(i18n("TDEProcess Failure"),TRUE);
|
|
|
|
|
}
|
|
|
|
|
return 0;
|
|
|
|
|
};
|
|
|
|
@ -140,7 +140,7 @@ int procbuf::start (TQString msg, bool errorDlg,
|
|
|
|
|
} else {
|
|
|
|
|
if (!proc->normalExit() || proc->exitStatus()) {
|
|
|
|
|
if (errorDlg) {
|
|
|
|
|
KpMsg("Error",i18n("Kprocess error:%1").arg(buf), TRUE);
|
|
|
|
|
KpMsg("Error",i18n("TDEProcess error:%1").arg(buf), TRUE);
|
|
|
|
|
}
|
|
|
|
|
delete proc; proc = 0;
|
|
|
|
|
return 0;
|
|
|
|
|