diff --git a/pungi/wrappers/scm.py b/pungi/wrappers/scm.py index 740cee6b..1745107a 100644 --- a/pungi/wrappers/scm.py +++ b/pungi/wrappers/scm.py @@ -44,7 +44,13 @@ class ScmBase(kobo.log.LoggingBase): def run_process_command(self, cwd): if self.command: self.log_debug('Running "%s"' % self.command) - retcode, output = run(self.command, workdir=cwd, can_fail=True) + retcode, output = run( + self.command, + workdir=cwd, + can_fail=True, + stdin_data="", + universal_newlines=True, + ) if retcode != 0: self.log_error('Output was: %r' % output) raise RuntimeError('%r failed with exit code %s'