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 benjamin.peterson
Recipients benjamin.peterson, gregory.p.smith
Date 2020-12-25.18:32:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608921127.92.0.470305698267.issue42736@roundup.psfhosted.org>
In-reply-to
Content
I wonder if a dedicated datatype should be created for all os-specific parameters like https://golang.org/pkg/syscall/#SysProcAttr. Popen already has way too many parameters. And prctl is a very general interface; probably 98% of prctls would never need to be called pre-exec.

(Separately, os.prctl should be created to expose prctl in all its multiplexed glory?)

(Also, but PDEATHSIG has an infamous footgun where the the signal is sent on exit of the forking thread, which is not necessarily the exit of the invoking process.)
History
Date User Action Args
2020-12-25 18:32:08benjamin.petersonsetrecipients: + benjamin.peterson, gregory.p.smith
2020-12-25 18:32:07benjamin.petersonsetmessageid: <1608921127.92.0.470305698267.issue42736@roundup.psfhosted.org>
2020-12-25 18:32:07benjamin.petersonlinkissue42736 messages
2020-12-25 18:32:07benjamin.petersoncreate