After getting annoyed with the fact that lilypond fails if I happen to keep Acrobat Reader open (since it for some curious reason holds an exclusive lock on the file) when running it I wondered if lilypond could kill acrobat reader, before trying to generate the pdf?
It seems that it is possible using DDE (this is what texniccenter does).
- does this belong in lilypond proper or in lilypond-mode (emacs) or <insert editor of choice>?
- if all else fails I suppose I could create my own wrapper that took care of the problem..