]> git.lyx.org Git - lyx.git/blobdiff - src/support/Systemcall.cpp
cleanup error messages
[lyx.git] / src / support / Systemcall.cpp
index 2d139e79709b42efa261f27746a5697e0bf510c7..3cb420bb518ebd1ccd106206e81c2dae48ed815e 100644 (file)
@@ -109,7 +109,7 @@ int Systemcall::startscript(Starttype how, string const & what, bool process_eve
 
        d.startProcess(cmd);
        if (!d.waitWhile(SystemcallPrivate::Starting, process_events, -1)) {
-               LYXERR0("QProcess " << cmd << " did not start!");
+               LYXERR0("Systemcall: '" << cmd << " did not start!");
                LYXERR0("error " << d.errorMessage());
                return 10;
        }
@@ -121,7 +121,7 @@ int Systemcall::startscript(Starttype how, string const & what, bool process_eve
        }
 
        if (!d.waitWhile(SystemcallPrivate::Running, process_events, 180000)) {
-               LYXERR0("QProcess " << cmd << " did not finished!");
+               LYXERR0("Systemcall: '" << cmd << "' did not finished!");
                LYXERR0("error " << d.errorMessage());
                LYXERR0("status " << d.exitStatusMessage());
                return 20;
@@ -129,7 +129,7 @@ int Systemcall::startscript(Starttype how, string const & what, bool process_eve
 
        int const exit_code = d.exitCode();
        if (exit_code) {
-               LYXERR0("QProcess cmd: ' " << cmd << "' finished with exit code " << exit_code);
+               LYXERR0("Systemcall: '" << cmd << "' finished with exit code " << exit_code);
        }
 
        return exit_code;