Skip to content

Passing an environment to ExternalTool.subprocess #479

@gregersn

Description

@gregersn

Is there a reason that the env-option is not set up to be passed on to Popen.subprocess?

I am quite new to using this library, and I like it very much. But I have now run across an issue where I need to set some environment variables for an external tool, to get it to work. And my first thought was to just throw the env=foo to subprocess in the external tool filter. But discovered that that wasn't an option.

Adding it to the ExternalTool-class wouldn't be a problem, but I wanted to see if there was any thought behind why it is like it is, and if that would be advised against?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions