]> git.lyx.org Git - lyx.git/blobdiff - src/converter.C
* remove various xforms relicts, in particular:
[lyx.git] / src / converter.C
index d55633b0d30077970bab2c1cd945a0ba5495a20a..01da621ade4a1f2a2c0d707123fe50c3b9930407 100644 (file)
@@ -26,6 +26,7 @@
 
 #include "support/filetools.h"
 #include "support/lyxlib.h"
+#include "support/os.h"
 #include "support/path.h"
 #include "support/systemcall.h"
 
@@ -298,7 +299,7 @@ bool Converters::convert(Buffer const * buffer,
                                getExtension(from_file) :
                                formats.extension(from_format);
                        string const command =
-                               "python " +
+                               lyx::support::os::python() + ' ' +
                                quoteName(libFileSearch("scripts", "convertDefault.py")) +
                                ' ' +
                                quoteName(from_ext + ':' + from_file) +