[Solved] Running and terminating multiple Writer instances
Posted: 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:
and currently don't use the
command-line argument.
Thanks!
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 --invisibleCode: Select all
-env:UserInstallation=file://…Thanks!