[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lilypond exit code

From: Simon Weatherill
Subject: lilypond exit code
Date: Mon, 14 Jun 2004 07:31:37 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113

I'd like to see lilypond exit with a non-zero status when it fails on a single file. It does exit properly when working on multiple files (looking at the source, not testing). I'd like to recommend the following change to (fresh from CVS). It just sets lilypond_error_p for any number of files. It works for me - I've patched my lilypond script (v2.2.0, but this section is the same in CVS).

I'm not on the mailing list, so reply directly (if there a different/better way to submit a bug/feature, let me know),
Simon Weatherill

$ cvs -z3 -d:ext:address@hidden:/cvsroot/lilypond diff
cvs diff: Diffing .
RCS file: /cvsroot/lilypond/lilypond/scripts/,v
retrieving revision 1.35
diff -r1.35
>               global lilypond_error_p
>               lilypond_error_p = 1
<                       global lilypond_error_p
<                       lilypond_error_p = 1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]