commit 151ee98e3b886bc95fc072c7401270658f0bff6e
Author: Uwe Stöhr <uwesto...@lyx.org>
Date:   Fri Mar 2 20:12:41 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 23ec3c8..54c7503 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -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")

Reply via email to