8000 Document or a command to get environment variables changes made by environment activation · Issue #9796 · conda/conda · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Document or a command to get environment variables changes made by environment activation #9796
Open
@brettcannon

Description

@brettcannon

Basically I'm after a way to know what would change in a user's environment when they run conda activate myenv (and I'm personally fine if this doesn't include custom shell scripts from the user). The reason for this is that on VS Code it would be easier to run commands in an activated environment, but conda run has buffered I/O issues and activating environments upon terminal creation creates a race condition between the activation and the command to be executed (and usually the command beats the activation). So we are trying to think of ways to solve this problem and one idea was to reconstruct the environment variables on behalf of the user if we knew what needed changing.

I would totally take documentation on this as well, but my guess is you wouldn't want to hard-code this information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogissue has been triaged but has not been earmarked for any upcoming releaseplugins::runpertains to conda-runsource::communitycatch-all for issues filed by community membersstale::recovered[bot] recovered after being marked as staletype::documentationrequest for improved documentationtype::featurerequest for a new feature or capability

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0