Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Modules/getpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def search_up(prefix, *landmarks, test=isfile):
# executable path was provided in the config.
real_executable = executable

if not executable and program_name:
if not executable and program_name and ENV_PATH:
# Resolve names against PATH.
# NOTE: The use_environment value is ignored for this lookup.
# To properly isolate, launch Python with a full path.
Expand Down