diff --git a/editor.py b/editor.py index 23aab542..62afbb91 100644 --- a/editor.py +++ b/editor.py @@ -82,7 +82,7 @@ least one of these before using this command.""" fd = None if re.compile("^.*[$ \t'].*$").match(editor): - args = [editor + ' "$@"'] + args = [editor + ' "$@"', 'sh'] shell = True else: args = [editor]