From 64d1751f2f25668e1b7ed3e6607e22c8e6533ff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Fri, 2 Mar 2018 20:14:58 +0100 Subject: [PATCH] configure.py: fix bug #11053 - add quotes around the path to the python executable --- lib/configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/configure.py b/lib/configure.py index 2e81d22018..888cf9935e 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")