diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2022-12-16 22:34:08 -0800 |
|---|---|---|
| committer | Ryan Liptak <squeek502@hotmail.com> | 2022-12-17 03:36:45 -0800 |
| commit | d3242408d4bed933c589a8143f4a06851795bdd1 (patch) | |
| tree | fe006391494c1d85497f9ebd584ce570dd518165 /lib/std/array_hash_map.zig | |
| parent | 5843b7987e705ec01d07cd98a7f7bb10aa579587 (diff) | |
| download | zig-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 'lib/std/array_hash_map.zig')
0 files changed, 0 insertions, 0 deletions
