Yedidyah Bar David has posted comments on this change. Change subject: core: Add _executePipe ......................................................................
Patch Set 1: Verified+1 Verified with: rcs, stdout, stderrs = self._executePipe( [ { 'args': ( 'ls', '-l', '/', '/non-existtent', ), }, { 'args': ( 'head', '-2', ), }, ] ) self.logger.debug('Return codes: %s', rcs) self.logger.debug('stdout: %s', stdout.read()) self.logger.debug('std errs: %s', [f.read() for f in stderrs]) sys.exit(0) Will later add wrappers (which do you want?), first let's get this one good. -- 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: 1 Gerrit-Project: otopi Gerrit-Branch: master Gerrit-Owner: Yedidyah Bar David <d...@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