parent
8e445c551a
commit
99e46440bd
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ class ShellModule(ShModule):
|
||||||
# How to end lines in a python script one-liner
|
# How to end lines in a python script one-liner
|
||||||
_SHELL_EMBEDDED_PY_EOL = '\\\n'
|
_SHELL_EMBEDDED_PY_EOL = '\\\n'
|
||||||
_SHELL_REDIRECT_ALLNULL = '>& /dev/null'
|
_SHELL_REDIRECT_ALLNULL = '>& /dev/null'
|
||||||
|
_SHELL_SUB_LEFT = '"`'
|
||||||
|
_SHELL_SUB_RIGHT = '`"'
|
||||||
|
|
||||||
def env_prefix(self, **kwargs):
|
def env_prefix(self, **kwargs):
|
||||||
return 'env %s' % super(ShellModule, self).env_prefix(**kwargs)
|
return 'env %s' % super(ShellModule, self).env_prefix(**kwargs)
|
||||||
|
|
Loading…
Reference in a new issue