> On 22 Mar 2015, at 09:58, Johan Vromans <jvrom...@squirrel.nl> wrote:
> 
> On Sat, 21 Mar 2015 16:28:47 -0700
> David Bellows <davebell...@gmail.com> wrote:
> 
>> os.execute("lilypond example.ly &> lily.txt")
> 
> I don't know about lua, but standard shell syntax for this is
> 
>  lilypond example.ly >lily.txt 2>&1         (Bourne family of shells)
> 
>  lilypond example.ly >& lily.txt            (C family of shells)

The call system() should always use sh, but on BSD type systems, as OS X, it is 
a compatibility mode of bash. The GNU OS sh may be different, say more strict.



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

Reply via email to