Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.