First time here? Check out the FAQ!
asked 2012-02-29 06:00:58 +0200Harry
For LO 3.4/3.5, I want to run LO in
--headless mode and try out both the socket (listening on an arbitrary port) and pipe methods.
However, what is not clear to me is this...
1) With the socket method: if I specify an arbitrary port (instead of the default 2002) in the
--accept argument, how does the the connecting client (a shell script) know about this port (meaning, where/how do I specify it in the client)?
2) With the pipe method: Do I have to create the pipe myself (using
mkfifo) before passing its name to the
--accept argument, or will LO automatically create the pipe for me? Further, how do I tell the connecting client (a shell script) about the name of this pipe?
Would greatly appreciate if you could give an example invocation for listening and connecting, and for socket and pipe methods.
Many thanks in advance,
answered 2012-02-29 09:38:19 +0200vmiklos
Regarding the socket method, the client application should have a switch / config parameter for that. (unoconv has a -c switch for that)
In the past I also had it working with jodconverter (before we had the --convert-to switch), then the working commandline for me was:
./soffice.bin -headless -accept="socket,port=8100;urp;" -nologo
Probably the same (except you need --foo instead of -foo these days) still works.
LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!
Asked: 2012-02-29 06:00:58 +0200
Seen: 1,208 times
Last updated: Feb 29 '12