quote a completed word if it has \ in it

This commit is contained in:
mathieui 2013-08-16 17:49:05 +02:00
parent 1a92c51ddf
commit cb8884bae4

View file

@ -1433,7 +1433,7 @@ class Input(Win):
split_words = words[1:]
words = [words[0]]
for word in split_words:
if ' ' in word:
if ' ' in word or '\\' in word:
words.append('"' + word + '"')
else:
words.append(word)