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:14:58 +01:00
parent 905516fd70
commit 64d1751f2f

View File

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