lilypond-devel
[Top][All Lists]
Advanced

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

Re: Adds redirect-lilypond-output option to lilypond-book(issue4664060)


From: Werner LEMBERG
Subject: Re: Adds redirect-lilypond-output option to lilypond-book(issue4664060)
Date: Wed, 13 Jul 2011 23:09:41 +0200 (CEST)

>> >Redirecting two file pointers to the same file has a tendency to
>> >wreak havoc with buffering.  So it is not something I am overly
>> >comfortable with.
> 
> ok, if/when we add this, we'd use a different way of recording
> output.  I'm certain that python's subprocess module has some way of
> doing this.

Well, to reduce the number of log files, it should be possible to do

  . Store stdout to foo.stdout
  . Store stderr to tmp.stderr
  . Append tmp.stderr to foo.stdout after lilypond has finished
  . Delete tmp.stderr


    Werner



reply via email to

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