bug-lilypond
[Top][All Lists]
Advanced

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

Re: error with -dseparate-log-files


From: Phil Holmes
Subject: Re: error with -dseparate-log-files
Date: Mon, 20 Aug 2012 10:43:54 +0100

"eluze" <address@hidden> wrote in message news:address@hidden
running the command

lilypond -dseparate-log-files a.ly ab.ly

results in:

GNU LilyPond 2.15.95
C:/Program Files
(x86)/LilyPond/usr/share/lilypond/current/scm/lily.scm:807:15: In procedure
open-file in expression (open-file (if # # ...) "a"):
C:/Program Files
(x86)/LilyPond/usr/share/lilypond/current/scm/lily.scm:807:15: No such file
or directory: "/dev/stderr"

workaround (for windows):

FOR %x IN (*.ly) DO lilypond %x [1>"%~nx.out"]  2>"%~nx.log"

did I use this command/option incorrectly? if not I will add this to the
issue list.

Definite bug for windows.  Don't believe dev/stderr should be used here:

             (open-file (if (string-or-symbol? (ly:get-option 'log-file))
                            (format #f "~a.log" (ly:get-option 'log-file))
                    "/dev/stderr") "a") #f))


David will know, but I suspect current-error-port or somesuch should be used.

--
Phil Holmes
Bug Squad




reply via email to

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