I have /mnt/d on Linux mapped to drive D: in PowerShell. If I'm within that drive, and I run a command like:
sajb { ./program }
I get an error like the following:
Set-Location: Cannot find drive. A drive with the name 'D' does not exist.
It seems that custom drives are not used for path resolution within the block.
/cc @PaulHigin seems like this has a similar issue as https://github.com/PowerShell/PowerShell/issues/12851
Probably needs to be considered in the same fix, if possible?
@vexx32 The number you wrote there is this exact issue. Did you mean to paste another number?
Oh, huh. Sorry, meant #11033
Most helpful comment
Oh, huh. Sorry, meant #11033