Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Issue 7926011: Implement RunSubprocessChain to allow the tools call several processes connected by pipes. (Closed)

Created:
9 years, 3 months ago by Alexander Potapenko
Modified:
5 years, 11 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, Timur Iskhodzhanov, pam+watch_chromium.org, stuartmorgan+watch_chromium.org, Erik does not do reviews
Visibility:
Public.

Description

Implement RunSubprocessChain to allow the tools call several processes connected by pipes.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -27 lines) Patch
M tools/valgrind/common.py View 5 chunks +64 lines, -27 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
Alexander Potapenko
Hi M-A, Are you the right person to do the review, or should I ask ...
9 years, 3 months ago (2011-09-16 14:48:57 UTC) #1
M-A Ruel
http://codereview.chromium.org/7926011/diff/1/tools/valgrind/common.py File tools/valgrind/common.py (right): http://codereview.chromium.org/7926011/diff/1/tools/valgrind/common.py#newcode98 tools/valgrind/common.py:98: if timeout > 0: You should seriously consider using ...
9 years, 3 months ago (2011-09-16 14:57:48 UTC) #2
Alexander Potapenko
> You should seriously consider using subprocess2, it already has the timeout > logic unit ...
9 years, 3 months ago (2011-09-16 15:06:42 UTC) #3
M-A Ruel
9 years, 3 months ago (2011-09-16 15:18:02 UTC) #4
On 2011/09/16 15:06:42, Alexander Potapenko wrote:
> > You should seriously consider using subprocess2, it already has the timeout
> > logic unit tested on all platforms.
> I'll take a look, thank you.
>  
> > I'm also considering implementing tee-like support, I just had a few issues
on
> > windows I had to cleanup first..
> Were you going to do that for tools/valgrind?

Well, it there is need for it outside depot_tools, I'll increase the priority of
this feature.

> BTW, something similar with syntax like [[proc1, proc2], [proc3]] is used by
our
> buildbots, isn't it?

I don't understand the question.

Powered by Google App Engine
This is Rietveld 408576698