[MacRuby-devel] fork() and MacRuby

robert gleeson rob at flowof.info
Wed Feb 17 05:42:50 PST 2010


Hi --

I'm aware fork() is not implemented in MacRuby yet, and it may never be from what I read but I'd just like to introduce a use case i've come across recently that might have you reconsider?

I am writing ruby bindings for the features exposed in the "sandbox" header, and you really need to fork a process if you don't want your parent process to inherit the restrictions the sandbox imposes .. 

I came across the problem with CoreFoundation not allowing you to fork() without immediately executing exec() , and I presume this is one of the reasons fork() in MacRuby might not be implemented but is there any workaround to see fork() being implemented? 

Just thought I'd add that to the table.

Thanks,
Rob


More information about the MacRuby-devel mailing list