• Guido van Rossum's avatar
    Fix for SF bug 601077 by Zack Weinberg. · 683c0fe4
    Guido van Rossum yazdı
    The new execvpe code would sometimes do the wrong thing when a
    non-executable file existed earlier in the path and an executable file
    of the same name existed later in the path.  This patch restores the
    proper behavior (which is to execute the second file).  When only a
    non-executable file exists, the correct error is still reported.
    683c0fe4
os.py 18.4 KB