https://bugs.documentfoundation.org/show_bug.cgi?id=151945

Mike Kaganski <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #1 from Mike Kaganski <[email protected]> ---
This is not a bug.

LibreOffice is designed to only run one instance of the application using a
given user profile. So if you do not specify to use a separate profile when you
call it from your application, it uses the existing running process. Calling
terminate() then naturally terminates that single process.

In order to have separate processes, use a separate user profile. That may be
done using -env command line parameter when starting soffice [1].

Being unfamiliar with Java, and not seeing the specific code you use, I can't
advise how to improve the code to specify the user profile there. However, I
assume that question is a kind of "how do I", and is more suitable for
https://ask.libreoffice.org/.

[1]
https://help.libreoffice.org/latest/en-US/text/shared/guide/start_parameters.html?DbPAR=SHARED

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to