From f966a3dc59ffa66935a13b95637c1653056cd5f9 Mon Sep 17 00:00:00 2001 From: Mikhail Grebenkin Date: Fri, 27 Apr 2018 11:51:03 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=8B=D1=82=D0=BA=D0=B0=20?= =?UTF-8?q?=D1=83=D0=BD=D0=B8=D1=87=D1=82=D0=BE=D0=B6=D0=B8=D1=82=D1=8C=20?= =?UTF-8?q?=D0=BD=D1=83=D0=BB=D0=B8=20=D0=BB=D0=B8=D1=88=D0=BD=D0=B8=D0=B5?= =?UTF-8?q?=20=D0=B2=20=D0=B2=D1=8B=D1=85=D0=BB=D0=BE=D0=BF=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRST_mon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRST_mon.py b/IRST_mon.py index 6e1564e..cdaafe2 100755 --- a/IRST_mon.py +++ b/IRST_mon.py @@ -11,7 +11,7 @@ hostname = 'srv-sbis01' server = '192.168.1.56' def exec(exe): - result = subprocess.Popen(exe, stdout=subprocess.PIPE, shell=True) + result = subprocess.Popen(exe, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) return result.communicate()[0].decode('utf-8')