mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-08 17:29:11 -07:00
fix issues with csh redirection
This commit is contained in:
parent
b525eedb8e
commit
5a65dce6fb
2 changed files with 6 additions and 4 deletions
|
@ -23,6 +23,7 @@ class ShellModule(ShModule):
|
|||
|
||||
# How to end lines in a python script one-liner
|
||||
_SHELL_EMBEDDED_PY_EOL = '\\\n'
|
||||
_SHELL_REDIRECT_ALLNULL = '>& /dev/null'
|
||||
|
||||
def env_prefix(self, **kwargs):
|
||||
return 'env %s' % super(ShellModule, self).env_prefix(**kwargs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue