Also add args_path param to powershell shell plugin
This commit is contained in:
parent
30d481ac57
commit
82faba619e
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class ShellModule(object):
|
||||||
''' % dict(path=path)
|
''' % dict(path=path)
|
||||||
return self._encode_script(script)
|
return self._encode_script(script)
|
||||||
|
|
||||||
def build_module_command(self, env_string, shebang, cmd, rm_tmp=None):
|
def build_module_command(self, env_string, shebang, cmd, args_path=None, rm_tmp=None):
|
||||||
cmd_parts = shlex.split(to_bytes(cmd), posix=False)
|
cmd_parts = shlex.split(to_bytes(cmd), posix=False)
|
||||||
cmd_parts = map(to_unicode, cmd_parts)
|
cmd_parts = map(to_unicode, cmd_parts)
|
||||||
if shebang and shebang.lower() == '#!powershell':
|
if shebang and shebang.lower() == '#!powershell':
|
||||||
|
|
Loading…
Reference in a new issue