diff --git a/collective/recipe/patch/__init__.py b/collective/recipe/patch/__init__.py index f8502b5..8f9c96d 100644 --- a/collective/recipe/patch/__init__.py +++ b/collective/recipe/patch/__init__.py @@ -115,7 +115,7 @@ def use_patch_binary(self, path, patch): cwd = os.getcwd() try: os.chdir(path) - p = Popen([self.binary, '-p0'], + p = Popen(self.binary.split(' ') + ['-p0'], stdin=PIPE, stdout=PIPE, stderr=STDOUT, close_fds=True) output = p.communicate(open(patch).read())[0]