the timeout. 30 minutes should be enough, also for very big documents.
#7228
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37176
a592a061-630c-0410-9148-
cb99ea01b6c8
return 0;
}
- if (!d.waitWhile(SystemcallPrivate::Running, process_events, 180000)) {
+ int timeout_min = 30;
+ if (!d.waitWhile(SystemcallPrivate::Running, process_events, timeout_min * 60 * 1000)) {
LYXERR0("Systemcall: '" << cmd << "' did not finish!");
LYXERR0("error " << d.errorMessage());
LYXERR0("status " << d.exitStatusMessage());