This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brandtbucher
Recipients brandtbucher, cjrh, vapier
Date 2020-03-08.02:33:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583634797.3.0.186980563791.issue39857@roundup.psfhosted.org>
In-reply-to
Content
Caleb's answer, using PEP 584's merge operator:

    newenv = os.environ | {'FOO': ..., 'BAR': ...}
    subprocess.run(..., env=new_env, ...)
History
Date User Action Args
2020-03-08 02:33:17brandtbuchersetrecipients: + brandtbucher, vapier, cjrh
2020-03-08 02:33:17brandtbuchersetmessageid: <1583634797.3.0.186980563791.issue39857@roundup.psfhosted.org>
2020-03-08 02:33:17brandtbucherlinkissue39857 messages
2020-03-08 02:33:17brandtbuchercreate