Awesome, thanks! @RobPasMue -- with respect to the changes to PATH, I start to wonder if what might be better than trying to undo the addition of the _internal directory would either be to:
a) attempt to directly read and use the registry key that Windows would use to set the environment of a newly-started command prompt for the PATH specifically -- i.e. what is set in the Control Panel for that environment variable
b) more generally look into ways to launch processes from Python such that they don't inherit the environment from the Python interpreter process but instead emulate the behavior of them being launched by the user from the Windows shell (i.e. explorer.exe; the initial environment is based on the Control Panel settings for environment variables). But that would be a separate PR / issue
Originally posted by @phx-mkoninckx in #377 (review)
Awesome, thanks! @RobPasMue -- with respect to the changes to
PATH, I start to wonder if what might be better than trying to undo the addition of the_internaldirectory would either be to:a) attempt to directly read and use the registry key that Windows would use to set the environment of a newly-started command prompt for the
PATHspecifically -- i.e. what is set in the Control Panel for that environment variableb) more generally look into ways to launch processes from Python such that they don't inherit the environment from the Python interpreter process but instead emulate the behavior of them being launched by the user from the Windows shell (i.e.
explorer.exe; the initial environment is based on the Control Panel settings for environment variables). But that would be a separate PR / issueOriginally posted by @phx-mkoninckx in #377 (review)