Process runs the wrong executable on Windows #70028
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Foundation
triage needed
This issue needs more specific labels
Windows
Platform: Windows
Description
Process()
doesn't launch the right executable on Windows.Steps to reproduce
Compile and run this program on a standard Windows installation.
Expected behavior
Prints the output of running
c:\Windows\System32\cmd.exe /?
and fatal errors with a nonzero exit status.Actual behavior
Prints the output of running
c:\Windows\System32\MKDIR.exe /?
and fatal errors with a nonzero exit status.Environment
swift --version
compnerd.org Swift version 5.9-dev (LLVM 466a716843b7efb, Swift 39bac1c)
Target: x86_64-unknown-windows-msvc
The text was updated successfully, but these errors were encountered: