diff options
| -rw-r--r-- | Modules/getpath.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/getpath.py b/Modules/getpath.py index f84e6e8..3a13bfd 100644 --- a/Modules/getpath.py +++ b/Modules/getpath.py @@ -277,7 +277,7 @@ elif os_name == 'darwin': # 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. |
