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

Reply via email to