Yedidyah Bar David has posted comments on this change.

Change subject: core: Add executePipe
......................................................................


Patch Set 11: Verified+1

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()

(this changeset, not 9)

-- 
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: 11
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

Reply via email to