Skip to content

Provide an option to dump environment to JSON #11

@ghost

Description

The way dependencyEnv currently works is hard to integrate into editor plugins.

See my earlier comment here.

It would be ideal if dependencyEnv could just produce a JSON object that can be used directly with child_process.spawn. The current output is not usable for this without parsing it and then normalizing it (e.g., interpolation).

The way I am currently integrating dependencyEnv into vscode is by spawning a composite command with sh -c. However, this causes a number of reliability problems.

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