aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2022-12-16 22:34:08 -0800
committerRyan Liptak <squeek502@hotmail.com>2022-12-17 03:36:45 -0800
commitd3242408d4bed933c589a8143f4a06851795bdd1 (patch)
treefe006391494c1d85497f9ebd584ce570dd518165 /src/codegen
parent5843b7987e705ec01d07cd98a7f7bb10aa579587 (diff)
downloadzig-d3242408d4bed933c589a8143f4a06851795bdd1.tar.gz
zig-d3242408d4bed933c589a8143f4a06851795bdd1.zip
spawnWindows: If an exe is found but fails to exec, retry with PATHEXT values appended
This matches `cmd.exe` behavior. For example, if there is only a file named `mycommand` in the cwd but it is a Linux executable, then running the command `mycommand` will result in: 'mycommand' is not recognized as an internal or external command, operable program or batch file. However, if there is *both* a `mycommand` (that is a Linux executable) and a `mycommand.exe` that is a valid Windows exe, then running the command `mycommand` will successfully run `mycommand.exe`.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions