]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtextclass.C
* remove various xforms relicts, in particular:
[lyx.git] / src / lyxtextclass.C
index 5d87cf18237d4f2c9942221f58ccdc755ad0645e..95d6212f0a1af036d20fb212813c4e0e1fea2660 100644 (file)
@@ -24,6 +24,8 @@
 #include "support/lstrings.h"
 #include "support/lyxlib.h"
 #include "support/filetools.h"
+#include "support/os.h"
+
 #include <boost/filesystem/operations.hpp>
 namespace fs = boost::filesystem;
 
@@ -72,7 +74,7 @@ bool layout2layout(string const & filename, string const & tempfile)
        }
 
        std::ostringstream command;
-       command << "python " << quoteName(script)
+       command << lyx::support::os::python() << ' ' << quoteName(script)
                << ' ' << quoteName(filename)
                << ' ' << quoteName(tempfile);
        string const command_str = command.str();