Page 1 of 1

[Solved] Running and terminating multiple Writer instances

PostPosted: Wed Oct 11, 2017 10:56 pm
by _savage
Hello,

I need to re-open a question from a few years ago; see the Terminating an office instance cleanly thread.

It seems to me that spawning multiple Writer instances as individual processes (using Python’s subprocess) and then shutting one process down kills the other as well. What vital resources are being shared here, and what is the recommended way of spawning multiple Writers (i.e. opening multiple documents) simultaneously?

I spawn an instance like so:

Code: Select all   Expand viewCollapse view
/…/soffice --accept="pipe,name=office-lRI55bb7ceed993f-HtKxO436s;urp;StarOffice.ServiceManager" --headless --invisible

and currently don't use the

Code: Select all   Expand viewCollapse view
-env:UserInstallation=file://…

command-line argument.

Thanks!

Re: Running and terminating multiple Writer instances

PostPosted: Fri Nov 10, 2017 8:40 pm
by _savage
Extensive email discussion in the thread How to run multiple instances of Writer simultaneously? at the Document Foundation’s email list archive.