Skip to content

Setting Shell_Env before running prefix #1135

@wbashir

Description

@wbashir

I would like to run and set my shell_env before the execution of the prefix. It looks like my shell env is never set in the example below:

with shell_env(ENV1="TEST"):
    with prefix(". myapp"):
          run("echo $ENV2")

I expected my shell_env to be set but my prefix runs first. I know this because the prefix commands uses the environment variables and will prompt for them if not set?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions