Skip to content

Commit d6ef3c1

Browse files
committed
remove os.environ[PATH] side effect from which
1 parent d1180aa commit d6ef3c1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libtmux/common.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ def _is_executable_file_or_link(exe):
384384
for default_path in default_paths:
385385
if default_path not in search_path:
386386
search_path.append(default_path)
387-
os.environ['PATH'] = os.pathsep.join(search_path)
388387
for path in search_path:
389388
full_path = os.path.join(path, exe)
390389
if _is_executable_file_or_link(full_path):

0 commit comments

Comments
 (0)