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

Issue 2338133005: Add real_path option to LaunchProcess (Closed)

Created:
4 years, 3 months ago by rkjnsn
Modified:
4 years, 2 months ago
Reviewers:
Nico
CC:
chromium-reviews, Robert Sesek, rickyz (no longer on Chrome), Jamie, Lambros, Sergey Ulanov
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add real_path option to LaunchProcess When specified, real_path will be used as the location of the executable to launch instead of argv[0]. This is useful when a custom argv[0] must be specified. This is needed by Chrome Remote desktop to start a login shell, which requires invoking the shell with an argv[0] starting with a '-' character (e.g., "-bash"). Committed: https://crrev.com/732f03d294cead0635f02d24a3fa656416f58c25 Cr-Commit-Position: refs/heads/master@{#422457}

Patch Set 1 : Add real_path option to LaunchProcess #

Total comments: 1

Patch Set 2 : Make real_path posix only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -1 line) Patch
M base/process/launch.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M base/process/launch_posix.cc View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 32 (19 generated)
rkjnsn
I am making a change to Chrome Remote Desktop that involves invoking a user log-in ...
4 years, 3 months ago (2016-09-14 22:28:50 UTC) #11
rkjnsn
4 years, 3 months ago (2016-09-15 02:48:01 UTC) #13
Nico
What's the advantage of using LaunchProcess in your code?
4 years, 3 months ago (2016-09-15 19:03:46 UTC) #14
rkjnsn
On 2016/09/15 19:03:46, Nico wrote: > What's the advantage of using LaunchProcess in your code? ...
4 years, 3 months ago (2016-09-15 20:21:16 UTC) #15
Nico
On 2016/09/15 20:21:16, rkjnsn wrote: > On 2016/09/15 19:03:46, Nico wrote: > > What's the ...
4 years, 3 months ago (2016-09-20 22:02:46 UTC) #16
rkjnsn
On 2016/09/20 22:02:46, Nico wrote: > On 2016/09/15 20:21:16, rkjnsn wrote: > > On 2016/09/15 ...
4 years, 3 months ago (2016-09-20 22:44:34 UTC) #18
Nico
Thanks. One more comment below. https://codereview.chromium.org/2338133005/diff/20001/base/process/launch.h File base/process/launch.h (right): https://codereview.chromium.org/2338133005/diff/20001/base/process/launch.h#newcode71 base/process/launch.h:71: // If not empty, ...
4 years, 3 months ago (2016-09-22 17:03:04 UTC) #19
rkjnsn
On 2016/09/22 17:03:04, Nico wrote: > Thanks. One more comment below. > > https://codereview.chromium.org/2338133005/diff/20001/base/process/launch.h > ...
4 years, 3 months ago (2016-09-22 20:27:26 UTC) #20
Nico
Yes, let's do that then. On Thu, Sep 22, 2016 at 4:27 PM, <rkjnsn@chromium.org> wrote: ...
4 years, 3 months ago (2016-09-22 20:42:19 UTC) #21
Nico
lgtm
4 years, 3 months ago (2016-09-22 20:55:53 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2338133005/40001
4 years, 2 months ago (2016-10-03 16:49:03 UTC) #28
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 2 months ago (2016-10-03 18:00:15 UTC) #30
commit-bot: I haz the power
4 years, 2 months ago (2016-10-03 18:03:18 UTC) #32
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/732f03d294cead0635f02d24a3fa656416f58c25
Cr-Commit-Position: refs/heads/master@{#422457}

Powered by Google App Engine
This is Rietveld 408576698