]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/general-scheme.cc
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / lily / general-scheme.cc
index 5f16d93408d66fe7026adeb9072e90800f96cf24..1168ee947357b06d21e0099b7a7551b09a6fd9a6 100644 (file)
@@ -662,8 +662,11 @@ LY_DEFINE (ly_spawn, "ly:spawn",
   // Always get the pointer to the stdout/stderr messages
   int exit_status = ly_run_command (argv, &standard_output, &standard_error);
 
-  // Print out stdout and stderr only in debug mode
-  debug_output (string ("\n") + standard_output + standard_error, true);
+  if (standard_output && standard_error)
+    {
+      // Print out stdout and stderr only in debug mode
+      debug_output (string ("\n") + standard_output + standard_error, true);
+    }
 
   g_free (standard_error);
   g_free (standard_output);