mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Make pwsh able to start in a directory with wildcards in the name (#7240)
This commit is contained in:
1 parent
5702e3f57a
commit
d61ea03694
2 files changed
+25
No files matched your search
@@ -3229,6 +3229,7 @@ namespace System.Management.Automation.Runspaces
|
||||
|
||||
try
|
||||
{
|
||||
providerContext.SuppressWildcardExpansion = true;
|
||||
context.EngineSessionState.SetLocation(Directory.GetCurrentDirectory(), providerContext);
|
||||
}
|
||||
catch (ItemNotFoundException)
|
||||
|
||||
Reference in new issue
Block a user