On Mon, Jan 17, 2011 at 08:45:45AM +0800, hzluo wrote:

> In addition to this exact path_prefix problem, it causes another
> problem on Windows:
> If the external uitility is a .bat/.cmd wrapper, it will fail. For
> example, ps2pdf13 is a wrapper in gs/lib dir on Windows Ghostscript.
> I have to fix the configure.py to specially detect .bat/.cmd
> utilities and prefix "cmd.exe /c" before it. So may it be possible
> to return to system(), or may we have a better fix?

Does the attached patch help?

-- 
Enrico
Index: src/support/Systemcall.cpp
===================================================================
--- src/support/Systemcall.cpp  (revisione 37214)
+++ src/support/Systemcall.cpp  (copia locale)
@@ -31,7 +31,6 @@
 #include <QCoreApplication>
 #include <QDebug>
 
-#define USE_QPROCESS
 
 
 struct Sleep : QThread
Index: src/support/filetools.cpp
===================================================================
--- src/support/filetools.cpp   (revisione 37214)
+++ src/support/filetools.cpp   (copia locale)
@@ -55,7 +55,6 @@
 
 using namespace std;
 
-#define USE_QPROCESS
 
 namespace lyx {
 namespace support {

Reply via email to