]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/lily.scm
* Use /dev/stderr instead of /dev/tty (Closes: #574629)
[lilypond.git] / scm / lily.scm
index 93956a82e412cc9abb35ad6e58a3cd49052c7ff3..c5c0cfabb04643db3a52ca43f9b8f5a7e5d22670 100644 (file)
@@ -673,9 +673,7 @@ PIDs or the number of the process."
          (if separate-logs
              (open-file (if (string-or-symbol? (ly:get-option 'log-file))
                             (format "~a.log" (ly:get-option 'log-file))
-                            (if (access? "/dev/tty" W_OK)
-                                "/dev/tty"
-                                "/dev/null")) "a") #f))
+                            "/dev/stderr") "a") #f))
         (do-measurements (ly:get-option 'dump-profile))
         (handler (lambda (key failed-file)
                    (set! failed (append (list failed-file) failed)))))