X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2FSystemcall.cpp;h=ca804096603eb81b7f35732fe6bac5e6ac8820ab;hb=12554c93d81f75f87c34040fd7737048d3518d6d;hp=419b0d3a8a66bc8fafd94583e773c88636899cf7;hpb=9e678569ad63e273e5066d8d268938027d2b874f;p=lyx.git diff --git a/src/support/Systemcall.cpp b/src/support/Systemcall.cpp index 419b0d3a8a..ca80409660 100644 --- a/src/support/Systemcall.cpp +++ b/src/support/Systemcall.cpp @@ -240,12 +240,12 @@ string const parsecmd(string const & incmd, string & infile, string & outfile, int Systemcall::startscript(Starttype how, string const & what, string const & path, bool process_events) { - lyxerr << "\nRunning: " << what << endl; + LYXERR(Debug::INFO,"Running: " << what); string infile; string outfile; string errfile; - QString cmd = QString::fromLocal8Bit( + QString const cmd = QString::fromLocal8Bit( parsecmd(what, infile, outfile, errfile).c_str()); SystemcallPrivate d(infile, outfile, errfile); @@ -430,7 +430,7 @@ bool SystemcallPrivate::waitWhile(State waitwhile, bool process_events, int time return state != Error; } - // process events while waiting whith timeout + // process events while waiting with timeout QTime timer; timer.start(); while (state == waitwhile && state != Error && !timedout) {