[Solved] Running and terminating multiple Writer instances

The Application Programming Interface and the OASIS Open Document Format

[Solved] Running and terminating multiple Writer instances

Postby _savage » Wed Oct 11, 2017 10:56 pm

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!
Last edited by _savage on Sat Nov 11, 2017 4:47 am, edited 2 times in total.
Mac 10.11 using LO 5.3.6.1, Gentoo Linux using LO 5.3.4.2 headless.
_savage
 
Posts: 139
Joined: Sun Apr 21, 2013 12:55 am

Re: Running and terminating multiple Writer instances

Postby _savage » Fri Nov 10, 2017 8:40 pm

Extensive email discussion in the thread How to run multiple instances of Writer simultaneously? at the Document Foundation’s email list archive.
Mac 10.11 using LO 5.3.6.1, Gentoo Linux using LO 5.3.4.2 headless.
_savage
 
Posts: 139
Joined: Sun Apr 21, 2013 12:55 am


Return to UNO API and ODF

Who is online

Users browsing this forum: No registered users and 3 guests