]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-113119 fix environment handling in subprocess.Popen when posix_spawn is used ...
authorJakub Kulík <Kulikjak@gmail.com>
Sun, 17 Dec 2023 05:19:05 +0000 (06:19 +0100)
committerGitHub <noreply@github.com>
Sun, 17 Dec 2023 05:19:05 +0000 (05:19 +0000)
commit48c907a15ceae7202fcfeb435943addff896c42c
tree3a55910a34781c81cc7f4fe2c754f8c1321ae83e
parentcde1335485b7bffb12c378d230ae48ad77d76ab1
gh-113119 fix environment handling in subprocess.Popen when posix_spawn is used (#113120)

* Allow posix_spawn to inherit environment form parent environ variable.

With this change, posix_spawn call can behave similarly to execv with regards to environments when used in subprocess functions.
Doc/library/os.rst
Doc/whatsnew/3.13.rst
Lib/subprocess.py
Misc/NEWS.d/next/Library/2023-12-15-18-13-59.gh-issue-113119.al-569.rst [new file with mode: 0644]
Modules/posixmodule.c