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

Issue 11419267: Add stdin_handle and stdout_handle in base::LaunchOptions. (Closed)

Created:
8 years ago by Sergey Ulanov
Modified:
7 years, 11 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Add stdin_handle and stdout_handle in base::LaunchOptions. New members in LaunchOptions will allow to redirect stdin and stdout on Windows. This change was originally implemented by eaugusti@chromium.com in crrev.com/10918255 . BUG=142915 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175268

Patch Set 1 #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 2

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -1 line) Patch
M base/process_util.h View 1 2 3 4 5 6 7 3 chunks +15 lines, -1 line 0 comments Download
M base/process_util_win.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
Sergey Ulanov
8 years ago (2012-12-01 00:04:14 UTC) #1
Sergey Ulanov
+rvargas Ricardo, I've addressed your comments from https://codereview.chromium.org/10918255 in this CL.
8 years ago (2012-12-01 01:14:51 UTC) #2
rvargas (doing something else)
https://codereview.chromium.org/11419267/diff/3001/base/process_util_win.cc File base/process_util_win.cc (right): https://codereview.chromium.org/11419267/diff/3001/base/process_util_win.cc#newcode299 base/process_util_win.cc:299: options.stdin_handle : GetStdHandle(STD_INPUT_HANDLE); What happens when the current process ...
8 years ago (2012-12-01 01:40:45 UTC) #3
Sergey Ulanov
https://codereview.chromium.org/11419267/diff/3001/base/process_util_win.cc File base/process_util_win.cc (right): https://codereview.chromium.org/11419267/diff/3001/base/process_util_win.cc#newcode299 base/process_util_win.cc:299: options.stdin_handle : GetStdHandle(STD_INPUT_HANDLE); On 2012/12/01 01:40:45, rvargas wrote: > ...
8 years ago (2012-12-05 00:23:14 UTC) #4
rvargas (doing something else)
https://codereview.chromium.org/11419267/diff/3001/base/process_util_win.cc File base/process_util_win.cc (right): https://codereview.chromium.org/11419267/diff/3001/base/process_util_win.cc#newcode299 base/process_util_win.cc:299: options.stdin_handle : GetStdHandle(STD_INPUT_HANDLE); On 2012/12/05 00:23:15, sergeyu wrote: > ...
8 years ago (2012-12-05 21:51:35 UTC) #5
Sergey Ulanov
https://codereview.chromium.org/11419267/diff/3001/base/process_util_win.cc File base/process_util_win.cc (right): https://codereview.chromium.org/11419267/diff/3001/base/process_util_win.cc#newcode299 base/process_util_win.cc:299: options.stdin_handle : GetStdHandle(STD_INPUT_HANDLE); On 2012/12/05 21:51:36, rvargas wrote: > ...
8 years ago (2012-12-05 22:38:53 UTC) #6
rvargas (doing something else)
lgtm after addressing the nit. https://codereview.chromium.org/11419267/diff/3001/base/process_util_win.cc File base/process_util_win.cc (right): https://codereview.chromium.org/11419267/diff/3001/base/process_util_win.cc#newcode299 base/process_util_win.cc:299: options.stdin_handle : GetStdHandle(STD_INPUT_HANDLE); On ...
8 years ago (2012-12-06 00:52:16 UTC) #7
brettw
owners lgtm based on ricardo's review.
8 years ago (2012-12-07 19:12:50 UTC) #8
Sergey Ulanov
https://codereview.chromium.org/11419267/diff/3001/base/process_util_win.cc File base/process_util_win.cc (right): https://codereview.chromium.org/11419267/diff/3001/base/process_util_win.cc#newcode299 base/process_util_win.cc:299: options.stdin_handle : GetStdHandle(STD_INPUT_HANDLE); On 2012/12/06 00:52:16, rvargas wrote: > ...
8 years ago (2012-12-07 23:11:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/11419267/18001
8 years ago (2012-12-07 23:30:21 UTC) #10
rvargas (doing something else)
https://codereview.chromium.org/11419267/diff/3001/base/process_util_win.cc File base/process_util_win.cc (right): https://codereview.chromium.org/11419267/diff/3001/base/process_util_win.cc#newcode299 base/process_util_win.cc:299: options.stdin_handle : GetStdHandle(STD_INPUT_HANDLE); > What I was asking about ...
8 years ago (2012-12-07 23:46:52 UTC) #11
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-08 00:04:57 UTC) #12
jschuh
I hate to drive-by after the fact, but this should really be using PROC_THREAD_ATTRIBUTE_HANDLE_LIST to ...
8 years ago (2012-12-09 00:38:51 UTC) #13
rvargas (doing something else)
On 2012/12/09 00:38:51, Justin Schuh wrote: > I hate to drive-by after the fact, but ...
8 years ago (2012-12-10 19:05:29 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/11419267/18001
7 years, 11 months ago (2013-01-03 00:16:44 UTC) #15
jschuh
This patch launches the process in an unsafe manner. If you're going to land it, ...
7 years, 11 months ago (2013-01-03 00:22:01 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 11 months ago (2013-01-03 00:42:37 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/11419267/32003
7 years, 11 months ago (2013-01-03 00:42:44 UTC) #18
jschuh
On 2013/01/03 00:42:44, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
7 years, 11 months ago (2013-01-03 01:19:27 UTC) #19
Sergey Ulanov
On 2013/01/03 01:19:27, Justin Schuh wrote: > On 2013/01/03 00:42:44, I haz the power (commit-bot) ...
7 years, 11 months ago (2013-01-03 18:57:14 UTC) #20
jschuh
On 2013/01/03 18:57:14, sergeyu wrote: > On 2013/01/03 01:19:27, Justin Schuh wrote: > > On ...
7 years, 11 months ago (2013-01-03 23:48:38 UTC) #21
Sergey Ulanov
Ok, so then we will need to use a separate launcher process to launch native ...
7 years, 11 months ago (2013-01-04 21:48:38 UTC) #22
jschuh
lgtm, accepting my nits on the wording. https://codereview.chromium.org/11419267/diff/46001/base/process_util.h File base/process_util.h (right): https://codereview.chromium.org/11419267/diff/46001/base/process_util.h#newcode270 base/process_util.h:270: // it ...
7 years, 11 months ago (2013-01-04 21:57:06 UTC) #23
Sergey Ulanov
https://codereview.chromium.org/11419267/diff/46001/base/process_util.h File base/process_util.h (right): https://codereview.chromium.org/11419267/diff/46001/base/process_util.h#newcode270 base/process_util.h:270: // it may cause some handles to be leaked ...
7 years, 11 months ago (2013-01-05 00:33:05 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/11419267/52001
7 years, 11 months ago (2013-01-05 00:35:18 UTC) #25
commit-bot: I haz the power
7 years, 11 months ago (2013-01-05 02:30:15 UTC) #26
Message was sent while issue was closed.
Change committed as 175268

Powered by Google App Engine
This is Rietveld 408576698