ExecutableService: bugfix
Ilya committed
Jun 4, 2017 at 08:23 UTC
763da57185a4062aa3f3f1a8dd08f0b0084e7f42
1 file changed
+1
-1
python.d/python_modules/base.py
+1
-1
@@ -881,7 +881,7 @@ class ExecutableService(SimpleService):
881
try:
882
p = Popen(self.command, stdout=PIPE, stderr=PIPE)
883
except Exception as error:
884
- self.error("Executing command", self.command, "resulted in error:", str(error))
884
+ self.error("Executing command", " ".join(self.command), "resulted in error:", str(error))
885
return None
886
data = list()
887
std = p.stderr if stderr else p.stdout