Browse Source

log command output on return code 0

develop
Prabuddha Chakraborty 9 years ago
parent
commit
975d4c7519
  1. 2
      ee/core/shellexec.py

2
ee/core/shellexec.py

@ -29,6 +29,8 @@ class EEShellExec():
"replace")) "replace"))
if proc.returncode == 0: if proc.returncode == 0:
Log.debug(self, "Command Output: {0}, \nCommand Error: {1}"
.format(cmd_stdout, cmd_stderr))
return True return True
else: else:
Log.debug(self, "Command Output: {0}, \nCommand Error: {1}" Log.debug(self, "Command Output: {0}, \nCommand Error: {1}"

Loading…
Cancel
Save