The new std.process is ready for review

Lars T. Kyllingstad public at kyllingen.net
Mon Feb 25 23:20:06 PST 2013


On Monday, 25 February 2013 at 22:32:44 UTC, nazriel wrote:
> Very nice! Good job folks.

Thanks!


> Got question, sorry if it was asked before.
>
> Is there any way to call some functions after fork but before 
> execve? Somekind of callback approach. It would be required to 
> implement somekind of resources limiting in subprocess (with 
> setrlimit) or droping root privilages in subprocces.

Sorry, no.  I don't think we can do that, as it would be very 
*NIX specific.  On Windows there are no separate fork() and 
exec() calls, just one CreateProcess() call.

Lars


More information about the Digitalmars-d mailing list