]> git.lyx.org Git - features.git/commitdiff
configure.py: fix bug #11053
authorUwe Stöhr <uwestoehr@lyx.org>
Fri, 2 Mar 2018 19:12:41 +0000 (20:12 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Fri, 2 Mar 2018 19:12:41 +0000 (20:12 +0100)
- add quotes around the path to the python executable

lib/configure.py

index 23ec3c82dc43660ae8b6efeeae4b48b1e0601d44..54c75038043e614837fbbd9da115a6c04f03c891 100644 (file)
@@ -1772,7 +1772,7 @@ def rescanTeXFiles():
     interpreter = sys.executable
     if interpreter == '':
         interpreter = "python"
-    tfp = cmdOutput(interpreter + " -tt " + '"'
+    tfp = cmdOutput('"' + interpreter + '"' + " -tt " + '"' 
                     + os.path.join(srcdir, 'scripts', 'TeXFiles.py') + '"')
     logger.info(tfp)
     logger.info("\tdone")