This has two ramifications:
Steps to reproduce
New-PSDrive foo filesystem .; Set-Location foo:/
Start-Job { $pwd } -WorkingDirectory $pwd | Receive-Job -Wait -AutoRemove | Should -Match '^foo:[/\\]'
if (-not $IsWindows) {
Start-Job { $pwd } -WorkingDirectory '\' | Receive-Job -Wait -AutoRemove | Should -Be '/'
}
Expected behavior
Both tests should pass.
Actual behavior
Both tests fail.
Environment data
PowerShell Core 7.0.0-preview.5
This has two ramifications:
A path based on a PS drive isn't supported.
The interchangeable use of
/and\isn't supported.Steps to reproduce
Expected behavior
Both tests should pass.
Actual behavior
Both tests fail.
Environment data