Message383757
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.) |
|
Date |
User |
Action |
Args |
2020-12-25 18:32:08 | benjamin.peterson | set | recipients:
+ benjamin.peterson, gregory.p.smith |
2020-12-25 18:32:07 | benjamin.peterson | set | messageid: <1608921127.92.0.470305698267.issue42736@roundup.psfhosted.org> |
2020-12-25 18:32:07 | benjamin.peterson | link | issue42736 messages |
2020-12-25 18:32:07 | benjamin.peterson | create | |
|