mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #11186 from sivel/winrm-syntax-error
Fix syntax error in winrm
This commit is contained in:
commit
65d982b186
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ class Connection(ConnectionBase):
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def exec_command(self, cmd, tmp_path, executable='/bin/sh', in_data=None):
|
def exec_command(self, cmd, tmp_path, executable='/bin/sh', in_data=None):
|
||||||
super(Connection, self).exec_command(cmd, tmp_path, executable=executable, in_data,in_data)
|
super(Connection, self).exec_command(cmd, tmp_path, executable=executable, in_data=in_data)
|
||||||
|
|
||||||
cmd = cmd.encode('utf-8')
|
cmd = cmd.encode('utf-8')
|
||||||
cmd_parts = shlex.split(cmd, posix=False)
|
cmd_parts = shlex.split(cmd, posix=False)
|
||||||
|
|
Loading…
Reference in a new issue