Steps to reproduce
mkdir "["
cd -LiteralPath "["
start cmd
Note
Start-Process works with the -WorkingDirectory option.
mkdir "["
cd -LiteralPath "["
start -WorkingDirectory . cmd
Expected behavior
Start-Process works
Actual behavior
start : The specified wildcard character pattern is not valid: [
At line:1 char:1
+ start cmd
+ ~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Start-Process], WildcardPatternException
+ FullyQualifiedErrorId : RuntimeException,Microsoft.PowerShell.Commands.StartProcessCommand
Environment data
Tested with Powershell:
- 5.1 (Windows 10 1909)
- 6.2.4 (Windows 10 1909)
- 7.0.0 RC3 (Windows 10 1909)
Steps to reproduce
Note
Start-Process works with the
-WorkingDirectoryoption.Expected behavior
Start-Process works
Actual behavior
Environment data