Commit the patch posted at beginning of this thread and see how big the problems are, especially Pavel's svn code.
After solving the problems, I planned to integrate my previous GUI patches.
see:
http://marc.info/?l=lyx-devel&m=
124136994215110&w=2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29614
a592a061-630c-0410-9148-
cb99ea01b6c8
#include <cstdlib>
+#include <QProcess>
+
using namespace std;
namespace lyx {
}
}
+//#define DISABLE_EVALUATE_QPROCESS
+#ifndef DISABLE_EVALUATE_QPROCESS
+ QString cmd = QString::fromLocal8Bit(command.c_str());
+ QProcess process;
+ process.start(cmd);
+ process.waitForFinished();
+ return process.exitCode();
+#endif
+
return ::system(command.c_str());
}