]> granicus.if.org Git - python/commit
bpo-34044: subprocess.Popen copies startupinfo (GH-8090)
authorVictor Stinner <vstinner@redhat.com>
Thu, 5 Jul 2018 20:54:17 +0000 (22:54 +0200)
committerGitHub <noreply@github.com>
Thu, 5 Jul 2018 20:54:17 +0000 (22:54 +0200)
commit483422f57e5d8c8bf8820fec29fc9b96bb15d4ef
tree236c127b825436f6f16d04bc57ef89a58706a70f
parent09bb918a61031377d720f1a0fa1fe53c962791b6
bpo-34044: subprocess.Popen copies startupinfo (GH-8090)

subprocess.Popen now copies the startupinfo argument to leave it
unchanged: it will modify the copy, so that the same STARTUPINFO
object can be used multiple times.

Add subprocess.STARTUPINFO.copy() method.
Lib/subprocess.py
Lib/test/test_subprocess.py
Misc/NEWS.d/next/Library/2018-07-04-17-14-26.bpo-34044.KWAu4y.rst [new file with mode: 0644]