From bf25af0b24c667c5a8cd8d10c0a4c02d9b0c3a1c Mon Sep 17 00:00:00 2001 From: janneke Date: Sat, 27 Sep 2003 20:02:40 +0000 Subject: [PATCH] *** empty log message *** --- cygwin/lily-wins.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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`) -- 2.39.5