Quote path to Python 3 executable in case it contains spaces
authorReid Kleckner <rnk@google.com>
Thu, 31 Oct 2019 22:23:45 +0000 (15:23 -0700)
committerReid Kleckner <rnk@google.com>
Thu, 31 Oct 2019 22:23:45 +0000 (15:23 -0700)
debuginfo-tests/lit.cfg.py

index a8d23f3..82e9b80 100644 (file)
@@ -99,7 +99,7 @@ if lldb_path is not None:
 # Produce dexter path, lldb path, and combine into the %dexter substitution
 dexter_path = os.path.join(config.debuginfo_tests_src_root,
                            'dexter', 'dexter.py')
-dexter_cmd = '{} {} test'.format(config.python3_executable, dexter_path)
+dexter_cmd = '"{}" "{}" test'.format(config.python3_executable, dexter_path)
 if lldb_path is not None:
   dexter_cmd += ' --lldb-executable {}'.format(lldb_path)