You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jr...@apache.org on 2016/05/26 21:55:39 UTC

svn commit: r1745659 - /qpid/trunk/qpid/cpp/src/tests/common.py

Author: jross
Date: Thu May 26 21:55:38 2016
New Revision: 1745659

URL: http://svn.apache.org/viewvc?rev=1745659&view=rev
Log:
QPID-7281: Prevent shlex.split from removing backslashes

Modified:
    qpid/trunk/qpid/cpp/src/tests/common.py

Modified: qpid/trunk/qpid/cpp/src/tests/common.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/common.py?rev=1745659&r1=1745658&r2=1745659&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/common.py (original)
+++ qpid/trunk/qpid/cpp/src/tests/common.py Thu May 26 21:55:38 2016
@@ -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()



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org