Yedidyah Bar David has posted comments on this change. Change subject: core: Add executePipe ......................................................................
Patch Set 3: Verified+1 Verified with various variations of the following: d = self.executePipe( [ { 'args': ( 'ls', '-l', '/', '/non-existtent', ), }, { 'args': ( 'head', '-2', ), }, ], stdin=['abcd', 'efgh', 'xyzx'] ) self.logger.debug('Return codes: %s', [p['rc'] for p in d['result']]) self.logger.debug('stdout: %s', d['stdout']) self.logger.debug('std errs: %s', [p['stderr'] for p in d['result']]) including commenting out parts (only first, only second, stdin, etc). -- To view, visit http://gerrit.ovirt.org/26213 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I4a434fbe1308ac2f603b8ae09756354c11138912 Gerrit-PatchSet: 3 Gerrit-Project: otopi Gerrit-Branch: master Gerrit-Owner: Yedidyah Bar David <d...@redhat.com> Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com> Gerrit-Reviewer: Sandro Bonazzola <sbona...@redhat.com> Gerrit-Reviewer: Simone Tiraboschi <stira...@redhat.com> Gerrit-Reviewer: Yedidyah Bar David <d...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-HasComments: No _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches