Skip to content

Tracing Popen monkey patch breaks environment #417

@hartror

Description

@hartror

In 0.10.0 the new tracing functionality wipes the environment for subprocesses.

As calls to _get_argument modify input (surely an anti-pattern) the subprocess call becomes POpen(..., env={sentry trace values only}) which wipes the environment from the parent process.

env = _get_argument(a, kw, "env", 11, {})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions