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
diff --git a/qpid/cpp/src/tests/common.py b/qpid/cpp/src/tests/common.py
index 10c637b..12a73ed 100644
--- a/qpid/cpp/src/tests/common.py
+++ b/qpid/cpp/src/tests/common.py
@@ -146,7 +146,7 @@
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()