agent: Fix terminal tool on Windows (#39260)

Seems like we don't want to escape the dollar sign in `$null`.

Release Notes:

- N/A
This commit is contained in:
Cole Miller
2025-09-30 23:19:32 -04:00
committed by GitHub
parent a13e84a108
commit dd6c653fe9
+1 -1
View File
@@ -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 => {