Merge pull request #1591 from yotann/fix-exec-command

Fix exec_command and cmd_and_log when cmd is tuple
This commit is contained in:
ita1024 2015-06-29 06:40:21 +02:00
commit 2011f4a852
1 changed files with 2 additions and 2 deletions

View File

@ -325,7 +325,7 @@ class Context(ctx):
"""
subprocess = Utils.subprocess
kw['shell'] = isinstance(cmd, str)
Logs.debug('runner: %r' % cmd)
Logs.debug('runner: %r' % (cmd,))
Logs.debug('runner_env: kw=%s' % kw)
if self.logger:
@ -386,7 +386,7 @@ class Context(ctx):
"""
subprocess = Utils.subprocess
kw['shell'] = isinstance(cmd, str)
Logs.debug('runner: %r' % cmd)
Logs.debug('runner: %r' % (cmd,))
if 'quiet' in kw:
quiet = kw['quiet']