-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Summary If the interpreter path contains a space, then the find script fails. We need to escape the arguments that we pass to `exec`. But, it seems easier to just use `spawn`, which doesn't require escaping. Closes astral-sh/ruff#12394. ## Test Plan Created a virtual environment `foo bar` in a repo; verified that the script failed before but succeeds after this change.
- Loading branch information
1 parent
2dd2871
commit e1777e1
Showing
1 changed file
with
24 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters