Message132303
Can we use FD_CLOEXEC to archive this goal? Example: open all files with FD_CLOEXEC set and don't close explicitly files on fork. preexec_fn will get access to the files, but the problem is exec(), not preexec_fn.
I suppose that it will slow down programs not using subprocess, and it may have border effects. |
|
Date |
User |
Action |
Args |
2011-03-27 10:14:21 | vstinner | set | recipients:
+ vstinner, loewis, gregory.p.smith, pitrou, jyasskin, nadeem.vawda, s7v7nislands, neologix, rosslagerwall |
2011-03-27 10:14:21 | vstinner | set | messageid: <1301220861.19.0.704196168744.issue8052@psf.upfronthosting.co.za> |
2011-03-27 10:14:17 | vstinner | link | issue8052 messages |
2011-03-27 10:14:17 | vstinner | create | |
|