configure.py: fix bug #11053

- add quotes around the path to the python executable
This commit is contained in:
Uwe Stöhr 2018-03-02 20:12:41 +01:00
parent 1137a6a7fe
commit 151ee98e3b

View 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")