diff options
author | Per Øyvind Karlsen <proyvind@moondrake.org> | 2016-10-04 11:41:52 +0200 |
---|---|---|
committer | Per Øyvind Karlsen <proyvind@moondrake.org> | 2016-10-04 11:41:52 +0200 |
commit | 334ec39abb73947d6b9fbf0a69cb33ce8353c8a5 (patch) | |
tree | 1f46b47534295c361b87fabeef7166ddee2938ce | |
parent | 6952d76600e075e19d3f8b4c048dc113347c488f (diff) | |
download | mgarepo-334ec39abb73947d6b9fbf0a69cb33ce8353c8a5.tar mgarepo-334ec39abb73947d6b9fbf0a69cb33ce8353c8a5.tar.gz mgarepo-334ec39abb73947d6b9fbf0a69cb33ce8353c8a5.tar.bz2 mgarepo-334ec39abb73947d6b9fbf0a69cb33ce8353c8a5.tar.xz mgarepo-334ec39abb73947d6b9fbf0a69cb33ce8353c8a5.zip |
redirect stdin, as required for ssh session invoked through binrepo
-rw-r--r-- | MgaRepo/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MgaRepo/util.py b/MgaRepo/util.py index c0566de..dfae85c 100644 --- a/MgaRepo/util.py +++ b/MgaRepo/util.py @@ -50,7 +50,7 @@ def execcmd(*cmd, **kwargs): if verbose: print("cmd: " + str(cmd).lstrip("(").rstrip(")").replace("', '", "' '")) - proc = subprocess.Popen(cmdargs, shell=False, stdout=stdout, + proc = subprocess.Popen(cmdargs, shell=False, stdout=stdout, stdin=kwargs.get("stdin"), stderr=stderr, env=env) output = "" |