diff options
Diffstat (limited to 'yarns/ssh_runcmd')
-rwxr-xr-x | yarns/ssh_runcmd | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/yarns/ssh_runcmd b/yarns/ssh_runcmd new file mode 100755 index 0000000..261b7e9 --- /dev/null +++ b/yarns/ssh_runcmd @@ -0,0 +1,12 @@ +#!/usr/bin/python2 + +import sys + +import cliapp + +cliapp.ssh_runcmd( + sys.argv[1], + ['sh', '-c'] + sys.argv[3:], + remote_cwd=sys.argv[2], + stdout=None, + stderr=None) |