]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/lilypond-book.py
(system): rewrite system() using
[lilypond.git] / scripts / lilypond-book.py
index 948ddbd74d89fb7b43896df4298f6a127da706b0..5cfe971b6d5a7c94cbe65c931642a7a0537fc72b 100644 (file)
@@ -1367,11 +1367,8 @@ def process_snippets (cmd, ly_snippets, texstr_snippets, png_snippets):
        status = 0
        def my_system (cmd):
                status = ly.system (cmd,
-                                   ignore_error = 1, progress_p = 1)
-
-               if status:
-                       error ('Process %s exited unsuccessfully.' % cmd)
-                       raise Compile_error
+                                   be_verbose=global_options.verbose, 
+                                   progress_p= 1)
 
        # UGH
        # the --process=CMD switch is a bad idea