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
/…/soffice --accept="pipe,name=office-lRI55bb7ceed993f-HtKxO436s;urp;StarOffice.ServiceManager" --headless --invisible
Code: Select all
-env:UserInstallation=file://…
Thanks!