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:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user