|
From: | Urs Liska |
Subject: | Re: Random output in LilyPond Log |
Date: | Thu, 12 Jul 2018 23:37:21 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
Am 12.07.2018 um 23:04 schrieb Freeman
Gilmore:
Yes, it doesn't have anything to do with *what* you print to the console but with *how* (i.e. "display" versus "ly:message"). As David pointed out there are different output channels for a program: stderr and stdout. Probably the issue is that Frescobaldi (that interacts with the LilyPond terminal through Python and PyQt) fetches this output through a mechanism called "Signals and Slots", which does not provide guaranteed order of operations but somehow responds to events. It is pretty likely that this is the cause for seemingly random order of output. When you are in need of reliable instantaneous output you should use ly:message rather than display, although it takes a little more effort. HTH Urs |
[Prev in Thread] | Current Thread | [Next in Thread] |