How to NOT connect to a running instance [closed]
I want to convert files from a script using command line options, for example:
libreoffice --headless --invisible --convert-to csv file.xls
This works only if Libre Office is not currently running interactively.
For example, if localc was run (on an unrelated document), then the above shell command silently fails to have any effect.
I suspect the command connects to the pre-existing interactive instance. How can I prevent this, forcing the command to use an independently started instance?
(or any other way to make the command work reliably, whether or not LO is already running)