-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
os/exec: calling Cmd.Start after setting Cmd.Path manually to absolute path without ".exe" no longer implicitly adds ".exe" in Go 1.22 [1.22 backport] #66598
Labels
CherryPickApproved
Used during the release process for point releases
Milestone
Comments
gopherbot
added
the
CherryPickCandidate
Used during the release process for point releases
label
Mar 29, 2024
qiulaidongfeng
added a commit
to qiulaidongfeng/go
that referenced
this issue
Jun 8, 2024
…n if not already done CL 512155 fixed golang#36768, but introduced golang#62596. CL 527820 fixed golang#62596, but meant that the code failed to look up file extensions on Windows for a relative path. This CL fixes that problem by recording whether it has already looked up file extensions. This does mean that if Path is set manually then we do not update it with file extensions, as doing that would be racy. Fixes golang#66598 Change-Id: Id6199945ecca7bbe19d531070eea66b206b0564b
Change https://go.dev/cl/591397 mentions this issue: |
prattmic
added
the
CherryPickApproved
Used during the release process for point releases
label
Jun 12, 2024
gopherbot
removed
the
CherryPickCandidate
Used during the release process for point releases
label
Jun 12, 2024
Change https://go.dev/cl/594495 mentions this issue: |
gopherbot
pushed a commit
that referenced
this issue
Jun 24, 2024
…n if not already done CL 512155 fixed #36768, but introduced #62596. CL 527820 fixed #62596, but meant that the code failed to look up file extensions on Windows for a relative path. This CL fixes that problem by recording whether it has already looked up file extensions. This does mean that if Path is set manually then we do not update it with file extensions, as doing that would be racy. For #66586 Fixes #66598 Change-Id: I9a0305d1e466c5e07bfbe442566ea12f5255a96e GitHub-Last-Rev: dc3169f GitHub-Pull-Request: #67035 Reviewed-on: https://go-review.googlesource.com/c/go/+/581695 LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> (cherry picked from commit 5532427) Reviewed-on: https://go-review.googlesource.com/c/go/+/594495 Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Commit-Queue: Ian Lance Taylor <[email protected]>
Closed by merging dfe4dbf to release-branch.go1.22. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@rsc requested issue #66586 to be considered for backport to the next 1.22 minor release.
The text was updated successfully, but these errors were encountered: