]> git.lyx.org Git - lyx.git/blobdiff - src/support/Systemcall.cpp
Check return value of regex_match instead of looking at first match
[lyx.git] / src / support / Systemcall.cpp
index 5dd4a94e1681e206b4ca4a5f7cdcf0c81a5769c8..cc2c3814ab761c17ec360316f1b071e7ea5e21aa 100644 (file)
@@ -23,6 +23,7 @@
 #include "support/os.h"
 #include "support/ProgressInterface.h"
 
+#include "LyX.h"
 #include "LyXRC.h"
 
 #include <cstdlib>
@@ -239,7 +240,10 @@ int Systemcall::startscript(Starttype how, string const & what,
                            bool process_events)
 {
        string const what_ss = commandPrep(what);
-       LYXERR(Debug::INFO,"Running: " << what_ss);
+       if (verbose)
+               lyxerr << "\nRunning: " << what_ss << endl;
+       else
+               LYXERR(Debug::INFO,"Running: " << what_ss);
 
        string infile;
        string outfile;