diff --git a/doc/go1.22.html b/doc/go1.22.html index b363aaf14b..bbd71b5893 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -650,11 +650,22 @@ defer func() {
- TODO: https://go.dev/cl/528037: os/exec: fix edge cases in Windows PATH resolution
+ On Windows, LookPath now
+ ignores empty entries in %PATH%, and returns
+ ErrNotFound (instead of ErrNotExist) if
+ no executable file extension is found to resolve an otherwise-unambiguous
+ name.
- TODO: https://go.dev/cl/528038: os/exec: avoid calling LookPath in cmd.Start for resolved paths +
+ On Windows, Command and
+ Cmd.Start no
+ longer call LookPath if the path to the executable is already
+ absolute and has an executable file extension. In addition,
+ Cmd.Start no longer writes the resolved extension back to
+ the Path field,
+ so it is now safe to call the String method concurrently
+ with a call to Start.