The new std.process is ready for review

Steven Schveighoffer schveiguy at yahoo.com
Tue Mar 12 06:56:25 PDT 2013


On Tue, 12 Mar 2013 05:58:31 -0400, Vladimir Panteleev  
<vladimir at 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


More information about the Digitalmars-d mailing list