This commit is contained in:
Eric Froemling 2024-04-23 15:19:34 -07:00
parent 50c70ff850
commit 83bbca6ffe
No known key found for this signature in database
GPG Key ID: 89C93F0F8D6D5A98

View File

@ -65,6 +65,9 @@ def pcommand_main(globs: dict[str, Any]) -> None:
# So let's go ahead and set up PATH here so tools/pcommand by itself # So let's go ahead and set up PATH here so tools/pcommand by itself
# *does* do the right thing. # *does* do the right thing.
# Don't do this on Windows; we're not currently using virtual-envs
# there for the little bit of tools stuff we support.
if not sys.platform.startswith('win'):
abs_exe_path = Path(sys.executable).absolute() abs_exe_path = Path(sys.executable).absolute()
pathparts = abs_exe_path.parts pathparts = abs_exe_path.parts
if ( if (