Files
zed/crates
Silvano Cerza 06edcd18be Fix running Python commands that include paths with spaces (#21981)
This PR fixes running Python commands that include paths with spaces by
wrapping python commands and their arguments in quotation marks.

I fixed this only in Python as I noticed this while trying to run
`pytest` in Zed.

Probably this is not the best approach as it doesn't fix other languages
too, though I don't know enough about the codebase to fix it like that.
I'm not even sure if it's actually feasible right now.

I didn't add tests for this either as I couldn't really understand how
to easily to that, I tried to look at other languages but couldn't find
one that tests their `ContextProvider` directly.

Release Notes:

- Fix running Python commands that include paths with spaces

---------

Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
2024-12-13 22:31:08 +01:00
..
2024-12-13 14:23:02 -05:00
2024-12-12 15:20:21 -08:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-04-30 23:31:59 -06:00
2024-12-13 14:23:02 -05:00
2024-03-11 10:45:57 +01:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-07-15 17:04:15 -06:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-11-18 22:56:34 +01:00
2024-12-13 14:23:02 -05:00
2024-12-03 23:22:26 -05:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00
2024-12-13 14:23:02 -05:00