vim: Non-interactive shell (#33568)

Closes #33144

Release Notes:

- vim: Run r! in a non-interactive shell
This commit is contained in:
Conrad Irwin 2025-06-28 10:23:57 -06:00 committed by GitHub
parent 3f4098e87b
commit c8c6468f9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -148,7 +148,7 @@ impl Project {
let ssh_details = self.ssh_details(cx);
let settings = self.terminal_settings(&path, cx).clone();
let builder = ShellBuilder::new(ssh_details.is_none(), &settings.shell);
let builder = ShellBuilder::new(ssh_details.is_none(), &settings.shell).non_interactive();
let (command, args) = builder.build(command, &Vec::new());
let mut env = self