Skip to content

dotenv run does not pass through command output #151

@lopopolo

Description

@lopopolo

dotenv run is implemented with the run_command function in main.py. It uses subprocess.Popen and does not pass output through to stdout and stderr.

Would it be possible to reimplement run_command with os.execvpe? I think it makes more sense to only use dotenv for loading the environment and let the OS run the process.

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