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

Unified Diff: tools/bots/bot.py

Issue 12386047: Quote all arguments when printing test.py command (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/bots/compiler.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bots/bot.py
diff --git a/tools/bots/bot.py b/tools/bots/bot.py
index 533ae4ef210344d3095bf91e505cfedd62375947..0d9284b9b2f2270b116f27fe77c4549e63ce6d1e 100644
--- a/tools/bots/bot.py
+++ b/tools/bots/bot.py
@@ -216,7 +216,7 @@ def RunTest(name, build_info, targets, flags=None):
cmd.extend(flags)
cmd.extend(targets)
- print 'Running: %s' % (' '.join(cmd))
+ print 'Running: %s' % (' '.join(map(lambda arg: '"%s"' % arg, cmd)))
RunProcess(cmd)
« no previous file with comments | « no previous file | tools/bots/compiler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698