Bug 37531 - Libreoffice will not run in "batch mode" when there is another instance open (patch)
sbergman at redhat.com
Mon Mar 19 06:36:27 PDT 2012
On 03/19/2012 01:38 PM, Jason Tang wrote:
> Regarding Bug 37531
> (https://bugs.freedesktop.org/show_bug.cgi?id=37531), here is a patch
> that will append the current PID to the IPC pipe and allow multiple
> instances of LO to run. In particular, this facilitates batch file
> conversions from the CLI while a GUI instance is running.
> Based on what I've seen of the code, it would appear that multiple
> instances should work without this trickery - however, that does not
> seem to be the case at present.
> Feedback appreciated.
No, this will not work. Many places in the LO code base assume that
there is only one soffice.bin process ever concurrently modifying a LO
user configuration (the directory tree at ~/.config/libreoffice/3/user
on Linux, etc.). -- That is the main reason why there is code to detect
an already running instance and load any work off to it in the first place.
More information about the LibreOffice