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

native: Search the child's PATH on win32 #15158

Merged
merged 1 commit into from
Jul 14, 2014

Commits on Jul 13, 2014

  1. native: Search the child's PATH on win32

    In order to have the spawning semantics be the same for unix/windows, the
    child's PATH environment variable needs to be searched rather than the parent's
    environment variable.
    
    If the child is inheriting the parent's PATH, then no action need be taken as
    windows will do the heavy lifting. If the child specifies its own PATH, then it
    is searched beforehand for the target program and the result is favored if a hit
    is found.
    
    cc rust-lang#15149, but does not close the issue because libgreen still needs to be
    updated.
    alexcrichton committed Jul 13, 2014
    5 Configuration menu
    Copy the full SHA
    b1a964a View commit details
    Browse the repository at this point in the history