mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 23:44:00 -07:00
Move binary module detection into executor/module_common.py
This commit is contained in:
parent
3466e73c50
commit
0faddfa168
6 changed files with 37 additions and 36 deletions
|
@ -165,6 +165,7 @@ class ShellBase(object):
|
|||
# don't quote the cmd if it's an empty string, because this will break pipelining mode
|
||||
if cmd.strip() != '':
|
||||
cmd = pipes.quote(cmd)
|
||||
|
||||
cmd_parts = []
|
||||
if shebang:
|
||||
shebang = shebang.replace("#!", "").strip()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue