Skip to content

bi-directional env passing #119

@Dunky13

Description

@Dunky13

Expected Behavior

https://github.com/google/zx#passing-env-variables
As defined in the above URL, you can pass env variables from the script to shell commands. It would be nice to also do it the other way around like:

await $`source .envfile`
console.log(process.env) //containing the above sourced env variables

Actual Behavior

Env variables are not passed to process.env

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