mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
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:
parent
bff46f987c
commit
58cac2e4db
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user