Shell: No -l in fallback, for max compatibility (#5452)

This commit is contained in:
Dan Brown 2025-12-12 14:43:35 -07:00 committed by GitHub
parent 379c4ecab3
commit 6e9833acce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1284,8 +1284,9 @@ export namespace SessionPrompt {
args: ["-NoProfile", "-Command", input.command],
},
// Fallback: any shell that doesn't match those above
// - No -l, for max compatibility
"": {
args: ["-c", "-l", `${input.command}`],
args: ["-c", `${input.command}`],
},
}