Commit 95183fb3 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

SourceHeptapod: make run_shell work

Some callers want to pass a system user name, and we have to
accept that for uniformity ('git' is been used as meaning
"the default user", which is lame but that's another story)
parent e1c445e8fd0c
......@@ -441,8 +441,8 @@ class SourceHeptapod(Heptapod):
sys.stderr.write(err)
return retcode, out
def run_shell(self, command):
exit_code, output = self.execute(command)
def run_shell(self, command, **kw):
exit_code, output = self.execute(command, **kw)
if exit_code != 0:
raise RuntimeError(
('Heptapod command {command} returned a non-zero '
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment