From c580840d772937d26fd5ed44d6fcc9dbead63426 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Mon, 19 Jan 2015 17:48:50 +0100 Subject: Properly ignore stderr and redirect stdout when execute a command fix #2933 --- src/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/daemon.py') diff --git a/src/daemon.py b/src/daemon.py index 11dfb51a..395054a7 100755 --- a/src/daemon.py +++ b/src/daemon.py @@ -65,7 +65,7 @@ class Executor(threading.Thread): log.error('Could not open redirection file: %s', self.filename, exc_info=True) return try: - subprocess.call(self.command) + subprocess.call(self.command, stdout=stdout, stderr=DEVNULL) except: if self.remote: import traceback -- cgit v1.2.3