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

Issue 885423003: Add the ability to change directories before execing. (Closed)

Created:
5 years, 10 months ago by rickyz (no longer on Chrome)
Modified:
5 years, 10 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add the ability to change directories before execing. BUG=387037 Committed: https://crrev.com/3371bf55c80d011f2d654b6566a20937df3b20f1 Cr-Commit-Position: refs/heads/master@{#314294}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Respond to comments. #

Total comments: 6

Patch Set 3 : Respond to comments. #

Patch Set 4 : No more changing directory. #

Total comments: 2

Patch Set 5 : Perform c_str before forking. #

Total comments: 2

Patch Set 6 : Respond to comments. #

Total comments: 1

Patch Set 7 : Remove redundant POSIX ifdef. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -7 lines) Patch
M base/process/launch.h View 1 chunk +3 lines, -0 lines 0 comments Download
M base/process/launch_posix.cc View 1 2 3 4 5 6 3 chunks +15 lines, -6 lines 0 comments Download
M base/process/process_util_unittest.cc View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download
M base/test/multiprocess_test.cc View 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 16 (3 generated)
rickyz (no longer on Chrome)
5 years, 10 months ago (2015-01-30 23:19:27 UTC) #2
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/885423003/diff/1/base/process/process_util_unittest.cc File base/process/process_util_unittest.cc (right): https://chromiumcodereview.appspot.com/885423003/diff/1/base/process/process_util_unittest.cc#newcode1027 base/process/process_util_unittest.cc:1027: const char* kTmpDir = "/tmp"; Let's declare storage: const ...
5 years, 10 months ago (2015-01-30 23:48:11 UTC) #3
rickyz (no longer on Chrome)
https://chromiumcodereview.appspot.com/885423003/diff/1/base/process/process_util_unittest.cc File base/process/process_util_unittest.cc (right): https://chromiumcodereview.appspot.com/885423003/diff/1/base/process/process_util_unittest.cc#newcode1027 base/process/process_util_unittest.cc:1027: const char* kTmpDir = "/tmp"; On 2015/01/30 23:48:11, jln ...
5 years, 10 months ago (2015-01-30 23:58:37 UTC) #4
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/885423003/diff/1/base/process/process_util_unittest.cc File base/process/process_util_unittest.cc (right): https://chromiumcodereview.appspot.com/885423003/diff/1/base/process/process_util_unittest.cc#newcode1038 base/process/process_util_unittest.cc:1038: base::LaunchOptions options; On 2015/01/30 23:58:37, rickyz wrote: > On ...
5 years, 10 months ago (2015-01-31 00:21:56 UTC) #5
rickyz (no longer on Chrome)
https://codereview.chromium.org/885423003/diff/1/base/process/process_util_unittest.cc File base/process/process_util_unittest.cc (right): https://codereview.chromium.org/885423003/diff/1/base/process/process_util_unittest.cc#newcode1038 base/process/process_util_unittest.cc:1038: base::LaunchOptions options; On 2015/01/31 00:21:55, jln wrote: > On ...
5 years, 10 months ago (2015-01-31 00:59:38 UTC) #6
jln (very slow on Chromium)
Paranoid nit. https://chromiumcodereview.appspot.com/885423003/diff/60001/base/process/launch_posix.cc File base/process/launch_posix.cc (right): https://chromiumcodereview.appspot.com/885423003/diff/60001/base/process/launch_posix.cc#newcode520 base/process/launch_posix.cc:520: RAW_CHECK(chdir(options.current_directory.value().c_str()) == 0); Sorry I didn't comment ...
5 years, 10 months ago (2015-02-03 02:07:53 UTC) #7
rickyz (no longer on Chrome)
https://codereview.chromium.org/885423003/diff/60001/base/process/launch_posix.cc File base/process/launch_posix.cc (right): https://codereview.chromium.org/885423003/diff/60001/base/process/launch_posix.cc#newcode520 base/process/launch_posix.cc:520: RAW_CHECK(chdir(options.current_directory.value().c_str()) == 0); On 2015/02/03 02:07:53, jln wrote: > ...
5 years, 10 months ago (2015-02-03 02:17:59 UTC) #8
jln (very slow on Chromium)
lgtm with ident nit. https://codereview.chromium.org/885423003/diff/80001/base/process/launch_posix.cc File base/process/launch_posix.cc (right): https://codereview.chromium.org/885423003/diff/80001/base/process/launch_posix.cc#newcode351 base/process/launch_posix.cc:351: for (size_t i = 0; ...
5 years, 10 months ago (2015-02-03 02:37:26 UTC) #9
rickyz (no longer on Chrome)
Thanks, adding rvargas@ for base OWNERS. https://codereview.chromium.org/885423003/diff/80001/base/process/launch_posix.cc File base/process/launch_posix.cc (right): https://codereview.chromium.org/885423003/diff/80001/base/process/launch_posix.cc#newcode351 base/process/launch_posix.cc:351: for (size_t i ...
5 years, 10 months ago (2015-02-03 02:44:44 UTC) #11
rvargas (doing something else)
RBSTMP LGTM https://chromiumcodereview.appspot.com/885423003/diff/100001/base/process/launch_posix.cc File base/process/launch_posix.cc (right): https://chromiumcodereview.appspot.com/885423003/diff/100001/base/process/launch_posix.cc#newcode528 base/process/launch_posix.cc:528: #if defined(OS_POSIX) isn't this redundant?
5 years, 10 months ago (2015-02-03 03:32:10 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/885423003/120001
5 years, 10 months ago (2015-02-03 07:24:51 UTC) #14
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 10 months ago (2015-02-03 08:44:57 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 08:45:52 UTC) #16
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/3371bf55c80d011f2d654b6566a20937df3b20f1
Cr-Commit-Position: refs/heads/master@{#314294}

Powered by Google App Engine
This is Rietveld 408576698