Hi Stephan,

Il 19/03/2013 11:47, Stephan Bergmann ha scritto:
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.

Thanks a lot for these pointers. Updated help, added pid removal and posted a new patch to https://gerrit.libreoffice.org/2928

thanks,
riccardo
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to