commit | 0e04f8f2b788fa927c8221aa832431b20d4fe33f | [log] [tgz] |
---|---|---|
author | Federico Ressi <fressi@redhat.com> | Wed Oct 24 12:19:05 2018 +0200 |
committer | Federico Ressi <fressi@redhat.com> | Wed Nov 14 14:51:40 2018 +0100 |
tree | 79845912c7ed367fea52109bd89108756fd5e1e1 | |
parent | 6f9bb77d9872a1cac4e1815ce13d97b8a143b3a8 [diff] |
Create wrapper tool for both local and remote shell command execution. Create base function called execute that takes a command and execute it using either subprocess module or an SSH client to allow implementing commands wrapper that can be executed either locally or remotelly. It also try to handle timeouts and produce good error capable of reporting whats written to stdout and stderr. Change-Id: I1a30b82338f44a4182722973e7ad3da2872295fd