From 2d9642302196f0b86fb6f805606333ccb2db4eb1 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Sat, 20 Aug 2016 21:56:39 +0300 Subject: [PATCH] Fix plugins stderr output --- hptoad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hptoad.py b/hptoad.py index 457841d..c2301c4 100755 --- a/hptoad.py +++ b/hptoad.py @@ -122,8 +122,8 @@ class Zhobe: try: proc = subprocess.Popen(cmd, - stdin=subprocess.PIPE, stdout=subprocess.PIPE, + stderr=subprocess.PIPE, universal_newlines=True) cmd_out, cmd_outerr = proc.communicate() except subprocess.CalledProcessError as err: