]> git.lyx.org Git - lyx.git/blobdiff - src/support/Systemcall.cpp
add debug function which prints the callstack to stderr, disabled by default
[lyx.git] / src / support / Systemcall.cpp
index a563c13ce7e1cc3afec0a26ea62f109b6d149265..5713294055d9a9fe0a56977e12c8c98137ac7c3f 100644 (file)
@@ -225,7 +225,8 @@ int Systemcall::startscript(Starttype how, string const & what, bool process_eve
                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());