From: Jan Nieuwenhuizen Date: Sat, 27 Sep 2003 20:02:40 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: release/2.0.1~9 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9edeec06329eb304f613fd7e178a7e17ea8abc74;p=lilypond.git *** empty log message *** --- diff --git a/cygwin/lily-wins.py b/cygwin/lily-wins.py index 5612b0b6b0..861668412c 100644 --- a/cygwin/lily-wins.py +++ b/cygwin/lily-wins.py @@ -30,8 +30,9 @@ def strip_extension (f, ext): return p + e def escape_shell (x): - return re.sub (r'''([^\\])([`'"\\\s])''', r'\1\\\2', x) - # help emacs'" broken python mode + return re.sub ("(\s|[`'\"\\\\])", r'\\\1',x) +# return re.sub (r'''([^\\])([`'"\\\s])''', r'\1\\\2', x) + # help emacs'" broken python mode debug (`sys.argv`)