summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Ross <jross@apache.org>2016-05-26 21:55:38 +0000
committerJustin Ross <jross@apache.org>2016-05-26 21:55:38 +0000
commit9894c85f5be5d3539b18a5b5519a86e2092ba784 (patch)
treed15af069a6184f565cc858c569a6843a36751038
parentf609ee876788ee9198907c3a7594e4c69a468665 (diff)
downloadqpid-python-9894c85f5be5d3539b18a5b5519a86e2092ba784.tar.gz
QPID-7281: Prevent shlex.split from removing backslashes
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1745659 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/src/tests/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/common.py b/qpid/cpp/src/tests/common.py
index 10c637b1a1..12a73eda0e 100644
--- a/qpid/cpp/src/tests/common.py
+++ b/qpid/cpp/src/tests/common.py
@@ -146,7 +146,7 @@ class _Broker(object):
write(self.command_file, self.command)
# XXX Workaround for problem terminating subprocesses that use shell=True
- command_args = _shlex.split(self.command)
+ command_args = _shlex.split(self.command, posix=False)
self.proc = _subprocess.Popen(command_args, stdout=_subprocess.PIPE)
self.port = self._wait_for_port()