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

Unified Diff: tools/bots/editor.py

Issue 19152002: Run bots/editor.py commands in xvfb-run to make ensure a valid DISPLAY (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bots/editor.py
diff --git a/tools/bots/editor.py b/tools/bots/editor.py
index bb311437d0bea4cad95d760b2b5eced685dbda23..eff80a4f04c0ad98fb2337191a72d5aef791c503 100755
--- a/tools/bots/editor.py
+++ b/tools/bots/editor.py
@@ -64,6 +64,8 @@ def GetEditorExecutable(mode, arch):
return os.path.join(editor_dir, executable)
def RunProcess(args):
+ if sys.platform == 'linux':
+ args = ['xvfb-run', '-a'] + args
print 'Running: %s' % (' '.join(args))
sys.stdout.flush()
bot.RunProcess(args)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698