From: Frank Brehm Date: Tue, 21 Aug 2018 10:20:30 +0000 (+0200) Subject: Bugfixing X-Git-Tag: 0.8.7^2~1 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=0d81a805599ca631079cc7aea8db5a994c2ae26e;p=pixelpark%2Fpuppetmaster-webhooks.git Bugfixing --- diff --git a/lib/webhooks/handler.py b/lib/webhooks/handler.py index 33a3771..d6d58ba 100644 --- a/lib/webhooks/handler.py +++ b/lib/webhooks/handler.py @@ -406,7 +406,6 @@ class BaseHandler(BaseObject): cmd_obj = subprocess.Popen( cmd_list, shell=use_shell, - cwd=self.base_dir, close_fds=close_fds, stderr=used_stderr, stdout=used_stdout, @@ -414,6 +413,7 @@ class BaseHandler(BaseObject): env={'USER': pwd_info.pw_name}, **kwargs ) + #cwd=self.base_dir, # Display Output of executable stdoutdata = ''