On 06/20/2012 08:41 AM, Stephan Bergmann wrote:
On 06/19/2012 04:20 PM, Michael Meeks wrote:
if (!fork()) {
// close all sockets
exec (...);
}

Would presumably do what we want (?) :-)

No, the whole exercise (with exec from self on Mac OS X) is only there
to prevent forking in the first place (which would confuse Mac OS X's
view of what the LO process actually is).

What would work, btw, is to rather exec some helper app that closes all fds and then in turn execs soffice. But I ditched that in favor of the simpler solution.

Stephan
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to