fix a regression for shell subprocess
This commit is contained in:
parent
79fb28512f
commit
e17ef8614f
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class Module(core.module.Module):
|
||||||
def update(self):
|
def update(self):
|
||||||
# if requested then run not async version and just execute command in this thread
|
# if requested then run not async version and just execute command in this thread
|
||||||
if not self.__async:
|
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
|
return
|
||||||
|
|
||||||
# if previous thread didn't end yet then don't do anything
|
# if previous thread didn't end yet then don't do anything
|
||||||
|
|
Loading…
Reference in a new issue