> The call system() should always use sh. Try lilypond example.ly 2> lily.txt
That does it, thanks! I took my syntax from the Usage manual and according to it this command should only send the errors to the text file but it definitely sends everything. So is there a form that will work on all platforms or at least all *nix-based platforms? On Sun, Mar 22, 2015 at 3:16 AM, Hans Aberg <haber...@telia.com> wrote: > >> On 22 Mar 2015, at 00:28, David Bellows <davebell...@gmail.com> wrote: > >> os.execute("lilypond example.ly &> lily.txt”) > > The call system() should always use sh. Try > lilypond example.ly 2> lily.txt > > _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user