Yedidyah Bar David has posted comments on this change.
Change subject: core: Add executePipe
......................................................................
Patch Set 9:
Verified with:
fd, name = tempfile.mkstemp()
os.close(fd)
f = open(name, 'w')
d = self.executePipe(
[
{
'args': (
'ls',
'-l',
'/',
'/non-existtent',
),
'stderr': f,
},
{
'args': (
'head',
'-2',
),
},
{
'args': (
'sleep',
'6'
),
},
],
stdin=['abcd', 'efgh', 'xyzx'],
raiseOnError=False,
progress_delays=2,
progress_callback=lambda: self.logger.info('waiting for ls -l |
sleep to finish...'),
)
f.close()
--
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: 9
Gerrit-Project: otopi
Gerrit-Branch: master
Gerrit-Owner: Yedidyah Bar David <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Sandro Bonazzola <[email protected]>
Gerrit-Reviewer: Simone Tiraboschi <[email protected]>
Gerrit-Reviewer: Yedidyah Bar David <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-HasComments: No
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches