mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-23 21:05:08 +00:00
task: Fix ShellBuilder::redirect_stdin_to_dev_null constructing invalid commands on windows (#39227)
Release Notes: - Fixed agents not being able to use the terminal tool with powershell Co-authored-by: Cole Miller <cole@zed.dev>
This commit is contained in:
parent
ace617037f
commit
67ebb1f795
1 changed files with 1 additions and 1 deletions
|
|
@ -288,7 +288,7 @@ impl ShellBuilder {
|
|||
combined_command.push_str(") </dev/null");
|
||||
}
|
||||
ShellKind::PowerShell => {
|
||||
combined_command.insert_str(0, "$null | {");
|
||||
combined_command.insert_str(0, "`$null | & {");
|
||||
combined_command.push_str("}");
|
||||
}
|
||||
ShellKind::Cmd => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue