On Tue, 12 Mar 2013 05:58:31 -0400, Vladimir Panteleev
<vladi...@thecybershadow.net> wrote:
On Sunday, 10 March 2013 at 02:01:33 UTC, Steven Schveighoffer wrote:
How about this: Set FD_CLOEXEC on all pipes just after creation, but
clear the flag for the relevant pipes before exec?
This doesn't help if other threads are randomly opening file
descriptors. That is a problem I don't think we considered.
OK, but it will still solve the specific problem with the other end
being open.
Yes it does. I'd rather solve both, though.
-Steve