From: Abdelrazak Younes Date: Mon, 11 May 2009 11:58:28 +0000 (+0000) Subject: Allow more time for latex... process launching can be slow on Windows... X-Git-Tag: 2.0.0~6606 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=58cac2e4db3c05e2d4ecd8951db7bb38185fec10;p=features.git Allow more time for latex... process launching can be slow on Windows... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29630 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/support/Systemcall.cpp b/src/support/Systemcall.cpp index 1692b2ca1c..bed1f45f50 100644 --- a/src/support/Systemcall.cpp +++ b/src/support/Systemcall.cpp @@ -61,7 +61,7 @@ int Systemcall::startscript(Starttype how, string const & what) QString cmd = QString::fromLocal8Bit(what.c_str()); QProcess * process = new QProcess; process->start(cmd); - if (!process->waitForStarted(1000)) { + if (!process->waitForStarted(3000)) { LYXERR0("Qprocess " << cmd << " did not start!"); LYXERR0("error " << process->error()); LYXERR0("state " << process->state()); @@ -71,7 +71,7 @@ int Systemcall::startscript(Starttype how, string const & what) if (how == DontWait) return 0; - if (!process->waitForFinished(30000)) { + if (!process->waitForFinished(180000)) { LYXERR0("Qprocess " << cmd << " did not finished!"); LYXERR0("error " << process->error()); LYXERR0("state " << process->state());