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
This commit is contained in:
Abdelrazak Younes 2009-05-11 11:58:28 +00:00
parent bff46f987c
commit 58cac2e4db

View File

@ -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());