[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Including" stdin hangs LilyPond during parsing
From: |
Hans Åberg |
Subject: |
Re: "Including" stdin hangs LilyPond during parsing |
Date: |
Thu, 19 Nov 2020 21:45:54 +0100 |
> On 19 Nov 2020, at 21:17, Trevor Bača <trevorbaca@gmail.com> wrote:
>
> ### BEGIN ###
>
> \version "2.20.0"
> \include "-"
>
> \new Staff
> {
> c'4
> }
>
> ### END ###
>
> Hangs during parsing:
>
> GNU LilyPond 2.20.0
> Processing `test.ly'
> Parsing...
> < hangs forever >
>
> Presumably the (spurious) filename "-" dereferences to stdin, putting Lily
> in a wait state for user input that's never to come.
Indeed, the input from stdin can be terminated with ^D (END OF TRANSMISSION
U+0004), and then the compile proceeds normally.