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

Issue 883063002: Fix linux_me2me_host.py to handle relative path to self. (Closed)

Created:
5 years, 10 months ago by Sergey Ulanov
Modified:
5 years, 10 months ago
Reviewers:
Lambros
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix linux_me2me_host.py to handle relative path to self. After crrev.com/310952 linux_me2me_host.py fails to start if it's called using relative path. This CL fixes it. The problem was that it was trying to run itself using sys.argv[0] after changing current directory, and this works only if argv[0] is an absolute path. Committed: https://crrev.com/706050db180f4f8012e4026d4dfd15565beab902 Cr-Commit-Position: refs/heads/master@{#313565}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -5 lines) Patch
M remoting/host/linux/linux_me2me_host.py View 4 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Sergey Ulanov
5 years, 10 months ago (2015-01-28 18:33:58 UTC) #2
Lambros
lgtm
5 years, 10 months ago (2015-01-28 18:59:23 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/883063002/1
5 years, 10 months ago (2015-01-28 19:01:48 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 10 months ago (2015-01-28 19:49:28 UTC) #6
commit-bot: I haz the power
5 years, 10 months ago (2015-01-28 19:50:21 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/706050db180f4f8012e4026d4dfd15565beab902
Cr-Commit-Position: refs/heads/master@{#313565}

Powered by Google App Engine
This is Rietveld 408576698