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