Chromium Code Reviews

Unified Diff: gsutil.py

Issue 822093002: Made gsutil.py truly transparent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gsutil.py
diff --git a/gsutil.py b/gsutil.py
index cd16078248a10c4a4b8d6f5f55195010ca5407f2..7e6bb44b2dbd91975c61c575c6e064025a0e5da3 100755
--- a/gsutil.py
+++ b/gsutil.py
@@ -125,7 +125,7 @@ def run_gsutil(force_version, fallback, target, args):
else:
gsutil_bin = fallback
cmd = [sys.executable, gsutil_bin] + args
- call(cmd)
+ os.execv(cmd[0], cmd)
def parse_args():
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine