commit 64d1751f2f25668e1b7ed3e6607e22c8e6533ff7
Author: Uwe Stöhr <uwesto...@lyx.org>
Date:   Fri Mar 2 20:14:58 2018 +0100

    configure.py: fix bug #11053
    
    - add quotes around the path to the python executable
---
 lib/configure.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/configure.py b/lib/configure.py
index 2e81d22..888cf99 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -1777,7 +1777,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")

Reply via email to