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

Issue 798743004: Add support for starting a detached process (Closed)

Created:
5 years, 11 months ago by Søren Gjesse
Modified:
5 years, 11 months ago
CC:
reviews_dartlang.org, ricow1, Bob Nystrom, vm-dev_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Add support for starting a detached process BUG=http://dartbug.com/20970 R=kustermann@google.com, lrn@google.com Committed: https://code.google.com/p/dart/source/detail?r=43070

Patch Set 1 #

Patch Set 2 : Minor fixes + rebase #

Total comments: 27

Patch Set 3 : Addressed review comments #

Patch Set 4 : Rebased #

Patch Set 5 : Ported to Mac OS #

Patch Set 6 : Ported to Windows #

Patch Set 7 : Additional EINTR checks on Linux #

Patch Set 8 : Reverted debug build -O0 back to -O2 #

Patch Set 9 : Fix handle closing on Windows #

Total comments: 10

Patch Set 10 : Addressed review comments #

Patch Set 11 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+696 lines, -358 lines) Patch
M runtime/bin/io_natives.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/process.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/bin/process.cc View 1 4 chunks +13 lines, -9 lines 0 comments Download
M runtime/bin/process_linux.cc View 1 2 3 4 5 6 7 8 9 6 chunks +219 lines, -125 lines 0 comments Download
M runtime/bin/process_macos.cc View 1 2 3 4 5 6 7 8 9 6 chunks +219 lines, -123 lines 0 comments Download
M runtime/bin/process_patch.dart View 1 2 11 chunks +75 lines, -51 lines 0 comments Download
M runtime/bin/process_win.cc View 1 2 3 4 5 6 7 8 9 8 chunks +99 lines, -41 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/io_patch.dart View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M sdk/lib/io/process.dart View 1 2 3 chunks +10 lines, -2 lines 0 comments Download
A + tests/standalone/io/process_detached_script.dart View 1 1 chunk +5 lines, -5 lines 0 comments Download
A tests/standalone/io/process_detached_test.dart View 1 2 1 chunk +52 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
Søren Gjesse
Lasse: mainly look as the API surface. Linux only implementation. The code in Process::Start is ...
5 years, 11 months ago (2015-01-15 09:36:14 UTC) #2
Lasse Reichstein Nielsen
API lgtm with comments. https://codereview.chromium.org/798743004/diff/20001/sdk/lib/io/process.dart File sdk/lib/io/process.dart (right): https://codereview.chromium.org/798743004/diff/20001/sdk/lib/io/process.dart#newcode246 sdk/lib/io/process.dart:246: * [:%WINDIR%\system32\cmd.exe:] is used on ...
5 years, 11 months ago (2015-01-15 09:55:40 UTC) #3
kustermann
lgtm, but: * Not sure If the Future<Process> API is particularly good (since most fields ...
5 years, 11 months ago (2015-01-16 16:11:04 UTC) #4
nweiz
Once again, please CC interested parties on CLs that define new APIs they've requested. The ...
5 years, 11 months ago (2015-01-20 20:40:38 UTC) #6
Søren Gjesse
On 2015/01/20 20:40:38, nweiz wrote: > Once again, please CC interested parties on CLs that ...
5 years, 11 months ago (2015-01-21 07:33:07 UTC) #7
Søren Gjesse
PTAL Ported to Mac OS and Windows. I have checked that the Linux and Mac ...
5 years, 11 months ago (2015-01-21 12:32:35 UTC) #8
nweiz
On 2015/01/21 07:33:07, Søren Gjesse wrote: > On 2015/01/20 20:40:38, nweiz wrote: > > Once ...
5 years, 11 months ago (2015-01-21 21:48:32 UTC) #9
kustermann
lgtm https://codereview.chromium.org/798743004/diff/160001/runtime/bin/process_linux.cc File runtime/bin/process_linux.cc (right): https://codereview.chromium.org/798743004/diff/160001/runtime/bin/process_linux.cc#newcode270 runtime/bin/process_linux.cc:270: static const int kMaxMessageSize = 256; why is ...
5 years, 11 months ago (2015-01-22 09:33:03 UTC) #10
Søren Gjesse
Thanks for the review. https://codereview.chromium.org/798743004/diff/160001/runtime/bin/process_linux.cc File runtime/bin/process_linux.cc (right): https://codereview.chromium.org/798743004/diff/160001/runtime/bin/process_linux.cc#newcode270 runtime/bin/process_linux.cc:270: static const int kMaxMessageSize = ...
5 years, 11 months ago (2015-01-22 11:47:25 UTC) #11
Søren Gjesse
5 years, 11 months ago (2015-01-22 11:49:50 UTC) #12
Message was sent while issue was closed.
Committed patchset #11 (id:200001) manually as 43070 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698