]> git.lyx.org Git - features.git/blobdiff - src/frontends/controllers/tex_helpers.C
Call python with the -tt switch to make mixed tab/space indentation an error
[features.git] / src / frontends / controllers / tex_helpers.C
index 6d0bd6f38129875ddde43d5dc3f44ef089c0063e..143f7d6f295f3adfb5bfcbe9a020eb6f7da7eac0 100644 (file)
@@ -17,6 +17,7 @@
 #include "support/filetools.h"
 #include "support/lstrings.h"
 #include "support/lyxalgo.h"
+#include "support/os.h"
 #include "support/package.h"
 #include "support/path.h"
 #include "support/systemcall.h"
@@ -52,7 +53,7 @@ void rescanTexStyles()
        Path p(package().user_support());
        Systemcall one;
        one.startscript(Systemcall::Wait,
-                       "python " +
+                       lyx::support::os::python() + ' ' +
                        quoteName(libFileSearch("scripts", "TeXFiles.py")));
 }