From 58cac2e4db3c05e2d4ecd8951db7bb38185fec10 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 11 May 2009 11:58:28 +0000 Subject: [PATCH] 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 --- src/support/Systemcall.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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());