Skip to content

Commit 9894c85

Browse files
committed
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
1 parent f609ee8 commit 9894c85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qpid/cpp/src/tests/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def start(self, args):
146146
write(self.command_file, self.command)
147147

148148
# XXX Workaround for problem terminating subprocesses that use shell=True
149-
command_args = _shlex.split(self.command)
149+
command_args = _shlex.split(self.command, posix=False)
150150

151151
self.proc = _subprocess.Popen(command_args, stdout=_subprocess.PIPE)
152152
self.port = self._wait_for_port()

0 commit comments

Comments
 (0)