From: Uwe Stöhr Date: Fri, 2 Mar 2018 19:12:41 +0000 (+0100) Subject: configure.py: fix bug #11053 X-Git-Tag: 2.3.1~191 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=151ee98e3b886bc95fc072c7401270658f0bff6e;p=features.git configure.py: fix bug #11053 - add quotes around the path to the python executable --- diff --git a/lib/configure.py b/lib/configure.py index 23ec3c82dc..54c7503804 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")