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.

Reply via email to