2.4.2 crashes on the command line on Silicon too

Eberhard W Lisse nospam at lisse.NA
Thu Sep 26 16:09:05 UTC 2024


On 2024-09-25 11:50, Pavel Sanda wrote:
> On Tue, Sep 24, 2024 at 11:42:05PM +0200, Eberhard W Lisse wrote:
>> I have now updated to Sequoia 15.0 and still get the crashes.
> 
> Is there some bug number for this issue?

I have no idea.

>> As this messes with my workflow I have had to resort to stuff like this
>> bash fragment (but in my Makefile of course).
>> 
>>    LYXPIPE="$HOME/Library/Application Support/LyX-2.4/.lyxpipe.in"
>>    rm -f handbook.pdf
>>    open handbook.lyx
>>    echo "LYXCMD:P2:buffer-write-all" > "$LYXPIPE"
>>    echo "LYXCMD:P2:master-buffer-export pdf5" > "$LYXPIPE"
>> 
>> As I need to post process the (handbook.)pdf I need to find a way
>> to "wait for it" as the write to the pipe returns immediately.
>> 
>> Any ideas?
> 
> I am not aware of any hook you could use within the lyx,
> but as you are already inside bash, you could use loop
> for waiting on the pdf to appear, something along the lines
> 
> while ! [ -e handbook.pdf ]; do echo 1; sleep 2; done
> sleep 2; #to be sure the whole pdf is copied
That does very nicely, thank you.

el



More information about the lyx-devel mailing list