diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2022-12-16 19:33:06 -0800 |
|---|---|---|
| committer | Ryan Liptak <squeek502@hotmail.com> | 2022-12-16 21:42:39 -0800 |
| commit | 6a1021fb7d14604b4f66b2c992f47eadcc812989 (patch) | |
| tree | cbfe12e21ee6c510365eaa42e2cfe716c0091651 /lib/std/std.zig | |
| parent | 077b003c50065a8b193dcad793ca5c4474222af6 (diff) | |
| download | zig-6a1021fb7d14604b4f66b2c992f47eadcc812989.tar.gz zig-6a1021fb7d14604b4f66b2c992f47eadcc812989.zip | |
ChildProcess.spawnWindows: Fix PATH search when the ext is in the command
For example, if the command is specified as `something.exe`, the retry will now try:
```
C:\some\path\something.exe
C:\some\path\something.exe.COM
C:\some\path\something.exe.EXE
C:\some\path\something.exe.BAT
... etc ...
```
whereas before it would only try the versions with an added extension from `PATHEXT`, which would cause the retry to fail on things that it should find.
Diffstat (limited to 'lib/std/std.zig')
0 files changed, 0 insertions, 0 deletions
