> On 18 Jan 2015, at 07:54, Matthew James Briggs 
> <matthew.james.bri...@gmail.com> wrote:
> 
> When calling LilyPond from the command line (I'm on Mac OS X) like this
> 
> exec /Applications/LilyPond.app/Contents/Resources/bin/lilypond "pathtomy.ly"
> 
> is there a flag to tell the program to open the compiled PDF when it's 
> finished like the GUI program does?

I use a script ‘lilypond' in the PATH containing:
  exec /Applications/LilyPond.app/Contents/Resources/bin/lilypond "$@“

Then run from the command line:
  lilypond <name>.ly && open <name>.pdf

In the past, Preview has not updated properly, but it can be useful anyhow, to 
get the document front.



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to