]> Frank Brehm's Git Trees - pixelpark/puppetmaster-webhooks.git/commitdiff
Bugfixing
authorFrank Brehm <frank.brehm@pixelpark.com>
Tue, 21 Aug 2018 10:20:30 +0000 (12:20 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Tue, 21 Aug 2018 10:20:30 +0000 (12:20 +0200)
lib/webhooks/handler.py

index 33a377165743da5eaa9ea2ad5dd6afad2134c3ef..d6d58ba831746bc1d50c9da51aa3bb79b324e2a2 100644 (file)
@@ -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 = ''