From de179d8b2cbf6fe86ff9a000a0d21bc6bc118905 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Sun, 11 Aug 2013 13:45:05 +0200 Subject: [PATCH] Issue 3468: lilypond-book and spaces in application name --- scripts/lilypond-book.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index 6d424a1852..9c49508d7a 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -277,6 +277,11 @@ if 'bindir' in globals () and bindir: if '@bindir@' == ('@' + 'bindir@') or not os.path.exists (lilypond_binary): lilypond_binary = 'lilypond' +# Need to shell-quote, issue 3468 + +import pipes +lilypond_binary = pipes.quote (lilypond_binary) + global_options = None -- 2.39.5