Setting up the listeners for the --accept arguments passed from
soffice/oosplash to soffice.bin is done in Desktop::RegisterServices
(desktop/source/app/appinit.cxx), so that might also be a good place to
write the pid. (Setting up listeners for additional --accept arguments
passed from additional soffice/oosplash/soffice.bin processes that pass
their arguments to the first soffice.bin process and then terminate
again are handled in desktop/source/app/officeipcthread.cxx. Arguably,
you would not want to handle --pidfile arguments passed in that way, and
at least in theory this situation should not arise anyway with your setup.)
Documentation about command line parameters is in
desktop/source/app/cmdlinehelp.cxx, btw.
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.