Merge pull request #658 from es80/shell-fix
fix a regression for shell subprocess
This commit is contained in:
commit
df9a1f9a4f
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class Module(core.module.Module):
|
|||
def update(self):
|
||||
# if requested then run not async version and just execute command in this thread
|
||||
if not self.__async:
|
||||
self.__output = util.cli.execute(self.__command, ignore_errors=True).strip()
|
||||
self.__output = util.cli.execute(self.__command, shell=True, ignore_errors=True).strip()
|
||||
return
|
||||
|
||||
# if previous thread didn't end yet then don't do anything
|
||||
|
|
Loading…
Reference in a new issue