[libcxx-commits] [libcxx] [libcxx] [test] Quote the python executable in the executor (PR #68208)
Martin Storsjö via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Oct 5 08:22:49 PDT 2023
================
@@ -320,7 +325,7 @@ def getStdFlag(cfg, std):
Parameter(
name="executor",
type=str,
- default=f"\"{sys.executable}\" {Path(__file__).resolve().parent.parent.parent / 'run.py'}",
+ default=f"{quote(sys.executable)} {quote(str(Path(__file__).resolve().parent.parent.parent / 'run.py'))}",
----------------
mstorsjo wrote:
Thanks, indeed it would! (There’s duplicate `default=` in there though.) I’ll give it a shot later tonight.
https://github.com/llvm/llvm-project/pull/68208
More information about the libcxx-commits
mailing list