Skip to content
This repository was archived by the owner on Sep 18, 2023. It is now read-only.

In Windows, don't echo out "SET ..." commands, instead set environment variables from within Python #233

@gene1wood

Description

@gene1wood

Since there's no easy way to eval in cmd.exe instead of outputting SET AWS_.... just set the environment variables inside Python (shutil.command("setx foo=bar")).

This adds them to the global OS wise environment variable namespace. It doesn't however update the current cmd.exe that you're in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions