Index: tools/test.py |
diff --git a/tools/test.py b/tools/test.py |
index 8c62136158e721be7e56d89252314159eb12073f..b3b62b3a636e15a8a8c4d96a41484a8c694f3412 100755 |
--- a/tools/test.py |
+++ b/tools/test.py |
@@ -1371,8 +1371,9 @@ def GetSpecialCommandProcessor(value): |
else: |
pos = value.find('@') |
import urllib |
- prefix = urllib.unquote(value[:pos]).split() |
- suffix = urllib.unquote(value[pos+1:]).split() |
+ import shlex |
+ prefix = shlex.split(urllib.unquote(value[:pos])) |
+ suffix = shlex.split(urllib.unquote(value[pos+1:])) |
def ExpandCommand(args): |
return prefix + args + suffix |
return ExpandCommand |