Konrad Hofbauer wrote:
> Pavel Sanda wrote:
>  > fyi i have found now that lyxclient is able to detect non-working pipe,
>> so the bibdesk script could use lyxclient to pass the commands or its 
>> detection mechanism.
>
> Thanks - and wht does lyxclient do if it finds a broken pipe?

ends up with correct error message.

> If there exists already code that detects a non-working pipe in lyxclient, 
> could that also be used at startup?

please note, that the situation is more complicated, because not only one
directory can be used for pipes. for example this is my current lyxclient
startup log:
lyxclient: Could not connect to socket /tmp/lyx_tmpdir11456VPmAHc/lyxsocket: 
Connection refused
lyxclient: Could not connect to /tmp/lyx_tmpdir11456VPmAHc/lyxsocket
lyxclient: Could not connect to socket /tmp/lyx_tmpdir12525pT3YKq/lyxsocket: 
Connection refused
lyxclient: Could not connect to /tmp/lyx_tmpdir12525pT3YKq/lyxsocket
lyxclient: Could not connect to socket /tmp/lyx_tmpdir14678nj12Zn/lyxsocket: 
Connection refused
lyxclient: Could not connect to /tmp/lyx_tmpdir14678nj12Zn/lyxsocket
lyxclient: Could not connect to socket /tmp/lyx_tmpdir14798vpV6XT/lyxsocket: 
Connection refused
lyxclient: Could not connect to /tmp/lyx_tmpdir14798vpV6XT/lyxsocket
lyxclient: Could not connect to socket /tmp/lyx_tmpdir19681rMXMd/lyxsocket: 
Connection refused
lyxclient: Could not connect to /tmp/lyx_tmpdir19681rMXMd/lyxsocket
lyxclient: Connected to /tmp/lyx_tmpdir20120R6Rh4d/lyxsocket

pavel

Reply via email to