ソケットで問題なく接続できますが、すべてがローカルの方がパイプの方が速いと聞いたので、試してみたかったのですが、接続できません。
私はLibreを始めます
> soffice --headless --invisible --norestore --nodefault --nolockcheck --nofirstwizard --accept='pipe,name=ooo_pipe;urp;'
そして、動作するはずなのに動作しない最低限のPythonスクリプトは
import uno
from com.sun.star.connection import NoConnectException
pipe = 'ooo_pipe'
localContext = uno.getComponentContext()
resolver = localContext.ServiceManager.createInstanceWithContext("com.sun.star.bridge.UnoUrlResolver", localContext)
context = resolver.resolve("uno:pipe,name=%s;urp;StarOffice.ComponentContext" % pipe)