> On Nov 28, 2016, at 11:24 AM, Cley Faye <[email protected]> wrote:
> 
> 2016-11-28 16:55 GMT+01:00 Paquin, Brian <[email protected]>:
> 
>> The initial conversion is about 5-10 seconds.
>> If we process a second document (all RTFs about the same), it is less than
>> a second.
>> If we then wait a couple minutes and process a third document, it goes
>> back to the 5-10 seconds...
>> 
> 
> ​To me, it sounds like libreoffice just shut down when it have nothing to
> do, and so needs to start up again.
> 
> Depending on the way you do this, you could fiddle with the --accept option
> to keep LibreOffice listening, or pre-start it with --invisible, keeping it
> open.
> 

The --invisible flag did not work. 
It opens LibreOffice (can be seen in the Dock (Mac)).
But when I use the soffice command, it does not perform the conversion.
(We get the same behavior if we open LibreOffice from the gui and then run the 
command)

I was able to use some examples I found to get --accept running, but I don’t 
know what to do next...
/Applications/LibreOffice.app/Contents/MacOS/soffice 
"--accept=socket,host=127.0.0.1,port=2003,tcpNoDelay=1;urp;" --headless 
--nodefault --nofirststartwizard --nolockcheck --nologo --norestore
I see LibreOffice in the Dock, and I can telnet to localhost 2003...
/Applications/LibreOffice.app/Contents/MacOS/soffice --convert-to pdf 
/Users/itsme/Desktop/testOpNote1.rtf   produces a brief 2nd LibreOffice in the 
Dock, but no PDF is created...

What command should I use once LibreOffice is running to get the convert-to 
flag to function (it only seems to work if LibreOffice is NOT running)?

Thank you,

Brian



-- 
To unsubscribe e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to