Commit d7c678c3 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

RF: prepareArgs should use shlex

parent 8c3371d2
......@@ -20,6 +20,7 @@
import sys
import shlex
import logging
import threading
import contextlib
......@@ -81,7 +82,7 @@ def prepareArgs(args):
# Argument was a command string
if isinstance(args[0], six.string_types):
args = args[0].split()
args = shlex.split(args[0])
# Argument was an unpacked sequence
else:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment