Skip to content

Commit

Permalink
fix: Deal with spaces in path
Browse files Browse the repository at this point in the history
  • Loading branch information
sindre-nistad committed Jan 7, 2025
1 parent 11f1fc1 commit a2bcbc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def preprocess(file: Path, include_directories: Optional[List[str]] = None) -> O
additional_include_directories.append(f"-I{sysconfig.get_path('data')}/include")
cxx_flags = os.environ.get("CXXFLAGS") or ""
res = subprocess.run(" ".join([
cxx,
f"'{cxx}'",
*cxx_flags.split(" "),
"-E",
"-dI",
Expand Down

0 comments on commit a2bcbc1

Please sign in to comment.