acp_thread: Respect terminal settings shell for terminal tool environment (#39349)

When sourcing the project environment for the terminal tool, we will now
do so by spawning the shell specified by the users `terminal.shell`
setting (or as usual fall back to the login shell).

Closes #37687 

Release Notes:

- N/A
This commit is contained in:
Lukas Wirth
2025-10-02 22:10:55 +02:00
committed by GitHub
parent 7c3a21f732
commit bf48a95344
13 changed files with 615 additions and 499 deletions
+1 -1
View File
@@ -398,7 +398,7 @@ impl TerminalBuilder {
#[cfg(target_os = "windows")]
{
Some(ShellParams::new(
util::get_windows_system_shell(),
util::shell::get_windows_system_shell(),
None,
None,
))