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

Issue 2810014: Add and alternative GetAppOutput() to process_util that takes a timeout.... (Closed)

Created:
10 years, 6 months ago by tessamac
Modified:
9 years, 7 months ago
CC:
chromium-reviews, John Grabowski, pam+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Add and alternative GetAppOutput() to process_util that takes a timeout. Contributed by tessamac@chromium.org TEST=none BUG=47356 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52608

Patch Set 1 #

Total comments: 38

Patch Set 2 : '' #

Total comments: 23

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 6

Patch Set 6 : '' #

Total comments: 2

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -19 lines) Patch
M base/process_util.h View 1 2 3 4 5 6 2 chunks +12 lines, -0 lines 0 comments Download
M base/process_util_posix.cc View 1 2 3 4 5 6 6 chunks +55 lines, -11 lines 0 comments Download
M base/process_util_unittest.cc View 1 2 3 4 5 6 1 chunk +74 lines, -8 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Paweł Hajdan Jr.
Looks like a good start to me. Adding agl (to make sure the POSIX code ...
10 years, 6 months ago (2010-06-19 08:34:43 UTC) #1
agl
My problem with this is that it doesn't really work: if the child is streaming ...
10 years, 6 months ago (2010-06-22 17:21:32 UTC) #2
Paweł Hajdan Jr.
On Tue, Jun 22, 2010 at 19:21, <agl@chromium.org> wrote: > My problem with this is ...
10 years, 6 months ago (2010-06-22 17:43:35 UTC) #3
agl
On Tue, Jun 22, 2010 at 1:36 PM, Paweł Hajdan, Jr. <phajdan.jr@chromium.org> wrote: > This ...
10 years, 6 months ago (2010-06-25 20:01:07 UTC) #4
tessamac
I've addressed all your comments but am still working on the Windows stuff. Please take ...
10 years, 5 months ago (2010-07-07 21:49:59 UTC) #5
agl
http://codereview.chromium.org/2810014/diff/24001/10005 File base/process_util_posix.cc (right): http://codereview.chromium.org/2810014/diff/24001/10005#newcode741 base/process_util_posix.cc:741: // Executes the application specified by |cl| and wait ...
10 years, 5 months ago (2010-07-07 22:02:28 UTC) #6
Paweł Hajdan Jr.
http://codereview.chromium.org/2810014/diff/1/2 File base/process_util.h (right): http://codereview.chromium.org/2810014/diff/1/2#newcode238 base/process_util.h:238: // Just like GetAppOutput() but you can specify a ...
10 years, 5 months ago (2010-07-08 07:58:17 UTC) #7
viettrungluu
http://codereview.chromium.org/2810014/diff/24001/10005 File base/process_util_posix.cc (right): http://codereview.chromium.org/2810014/diff/24001/10005#newcode853 base/process_util_posix.cc:853: KillProcess(pid, *exit_code, true); Ugh. KillProcess(..., true) can take up ...
10 years, 5 months ago (2010-07-08 13:41:52 UTC) #8
tessamac
http://codereview.chromium.org/2810014/diff/1/2 File base/process_util.h (right): http://codereview.chromium.org/2810014/diff/1/2#newcode238 base/process_util.h:238: // Just like GetAppOutput() but you can specify a ...
10 years, 5 months ago (2010-07-10 00:43:50 UTC) #9
viettrungluu
http://codereview.chromium.org/2810014/diff/24001/10005 File base/process_util_posix.cc (right): http://codereview.chromium.org/2810014/diff/24001/10005#newcode853 base/process_util_posix.cc:853: KillProcess(pid, *exit_code, true); On 2010/07/10 00:43:50, tessamac wrote: > ...
10 years, 5 months ago (2010-07-10 06:21:40 UTC) #10
Paweł Hajdan Jr.
Only a minor comment. After we know what to do about the exit code constants, ...
10 years, 5 months ago (2010-07-10 18:53:49 UTC) #11
viettrungluu
On 2010/07/10 06:21:40, viettrungluu wrote: > http://codereview.chromium.org/2810014/diff/24001/10005 > File base/process_util_posix.cc (right): > > http://codereview.chromium.org/2810014/diff/24001/10005#newcode853 > ...
10 years, 5 months ago (2010-07-13 15:22:59 UTC) #12
tessamac
http://codereview.chromium.org/2810014/diff/24001/10004 File base/process_util.h (right): http://codereview.chromium.org/2810014/diff/24001/10004#newcode92 base/process_util.h:92: PROCESS_END_KILLED_BY_TIMEOUT = 3 On 2010/07/10 00:43:50, tessamac wrote: > ...
10 years, 5 months ago (2010-07-13 17:55:49 UTC) #13
Paweł Hajdan Jr.
On 2010/07/13 17:55:49, tessamac wrote: > Because those values in result_codes.h are depended on (and ...
10 years, 5 months ago (2010-07-13 19:39:08 UTC) #14
tessamac
On Tue, Jul 13, 2010 at 12:39, <phajdan.jr@chromium.org> wrote: > On 2010/07/13 17:55:49, tessamac wrote: ...
10 years, 5 months ago (2010-07-13 22:38:21 UTC) #15
Paweł Hajdan Jr.
http://codereview.chromium.org/2810014/diff/43001/44001 File base/process_util.h (right): http://codereview.chromium.org/2810014/diff/43001/44001#newcode89 base/process_util.h:89: // so don't want to extend it here or ...
10 years, 5 months ago (2010-07-14 01:00:08 UTC) #16
tessamac
http://codereview.chromium.org/2810014/diff/43001/44001 File base/process_util.h (right): http://codereview.chromium.org/2810014/diff/43001/44001#newcode89 base/process_util.h:89: // so don't want to extend it here or ...
10 years, 5 months ago (2010-07-14 18:47:10 UTC) #17
Paweł Hajdan Jr.
http://codereview.chromium.org/2810014/diff/53001/54001 File base/process_util.h (right): http://codereview.chromium.org/2810014/diff/53001/54001#newcode90 base/process_util.h:90: // numbering didn't change, so if you add values ...
10 years, 5 months ago (2010-07-14 18:52:42 UTC) #18
tessamac
Since there are no code changes (only comment changes) I didn't re-upload. But let me ...
10 years, 5 months ago (2010-07-14 19:08:33 UTC) #19
Paweł Hajdan Jr.
LGTM
10 years, 5 months ago (2010-07-14 19:28:37 UTC) #20
tessamac
The linux and mac try bots came back green; win failed with "did not complete". ...
10 years, 5 months ago (2010-07-14 22:59:55 UTC) #21
viettrungluu
I'd be happy to commit it for you when I have the chance and when ...
10 years, 5 months ago (2010-07-15 03:34:59 UTC) #22
tessamac
10 years, 5 months ago (2010-07-15 03:57:22 UTC) #23
On Wed, Jul 14, 2010 at 20:34, <viettrungluu@chromium.org> wrote:

> I'd be happy to commit it for you when I have the chance and when the tree
> is
> open, though Paweł may well get to it first. For that, you'll need to
> upload the
> latest version of your change though....


Oh yes, thanks for the reminder.  Done.

>
>
> On 2010/07/14 22:59:55, tessamac wrote:
>
>> The linux and mac try bots came back green; win failed with "did not
>> complete".  I don't think the failure has anything to do with my change.
>>
>
>  Since I'm not yet a committer, would any of you like to commit this on my
>> behalf?
>>
>
>  On Wed, Jul 14, 2010 at 12:28, <mailto:phajdan.jr@chromium.org> wrote:
>>
>
>  > LGTM
>> >
>> >
>> > http://codereview.chromium.org/2810014/show
>> >
>>
>
>
>
>
> http://codereview.chromium.org/2810014/show
>

Powered by Google App Engine
This is Rietveld 408576698