Skip to content
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

[release-branch.go1.22] os/exec: on Windows look for extensions in Run if not already done #67902

Closed

Commits on Jun 8, 2024

  1. [release-branch.go1.22] os/exec: on Windows look for extensions in Ru…

    …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
    qiulaidongfeng committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    fa7825e View commit details
    Browse the repository at this point in the history