2.4.2 crashes on the command line on Silicon too

Pavel Sanda sanda at lyx.org
Wed Sep 25 09:50:57 UTC 2024


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?

> 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


Pavel


More information about the lyx-devel mailing list