zed/crates/debugger_ui/src
Marco Mihai Condrache 02bdba80a4
util: Fix shell kind in windows based on program path (#39696)
Closes #39614

The `ShellKind` struct is built on Windows' side, meaning that when
connecting to remotes, we fall back to PowerShell construction, even if
the shell program we are spawning is a unix program.

This broke tasks creation since we are using the shell kind to construct
args:


d04ac864b8/crates/project/src/terminals.rs (L149)

In normal terminals this only affected activation scripts (only place
where shell kind is used)

I don't have a Windows machine to test it, so I would appreciate any
help with testing!

Release Notes:

- Fixed an issue where tasks could not be executed in Windows WSL

---------

Signed-off-by: Marco Mihai Condrache <52580954+marcocondrache@users.noreply.github.com>
2025-10-13 15:45:46 +02:00
..
session util: Fix shell kind in windows based on program path (#39696) 2025-10-13 15:45:46 +02:00
tests editor: Shrink DisplayMapSnapshot from 824 to 256 bytes (#39568) 2025-10-06 08:08:49 +00:00
attach_modal.rs Use into_owned over to_string for Cow<str> (#39024) 2025-09-27 14:50:10 +00:00
debugger_panel.rs Clean up RelPath API (#38912) 2025-09-25 14:42:32 -07:00
debugger_ui.rs debugger: Add ability to only show stack frame entries from visible work trees (#37061) 2025-08-28 07:53:32 +00:00
dropdown_menus.rs debugger: Fix allow showing more than 1 compact session item (#37036) 2025-09-05 21:35:28 +00:00
new_process_modal.rs Use into_owned over to_string for Cow<str> (#39024) 2025-09-27 14:50:10 +00:00
onboarding_modal.rs Update onboarding_modal.rs with https protocol (#39136) 2025-09-29 19:18:57 +00:00
persistence.rs debugger: Add ability to only show stack frame entries from visible work trees (#37061) 2025-08-28 07:53:32 +00:00
session.rs Remove some unused events (#37498) 2025-09-04 09:09:28 +02:00
stack_trace_view.rs editor: Shrink DisplayMapSnapshot from 824 to 256 bytes (#39568) 2025-10-06 08:08:49 +00:00
tests.rs debugger: Debug sessions rerun build tasks by default when restarting (#33724) 2025-07-01 15:43:58 -04:00