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

Unified Diff: mojo/devtools/common/mojo_run

Issue 1964903002: Disable output buffering in devtools scripts. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 7 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
Index: mojo/devtools/common/mojo_run
diff --git a/mojo/devtools/common/mojo_run b/mojo/devtools/common/mojo_run
index 43f83be97837386809a748f2d306cc17ee192e80..72fc047624ef9087ef04cee1ea1e1959e8b10c1b 100755
--- a/mojo/devtools/common/mojo_run
+++ b/mojo/devtools/common/mojo_run
@@ -9,6 +9,7 @@ import sys
from devtoolslib import shell_arguments
from devtoolslib import shell_config
+from devtoolslib.utils import disable_output_buffering
_DESCRIPTION = """Runner for Mojo applications.
@@ -48,6 +49,7 @@ def _configure_debugger(shell):
def main():
+ disable_output_buffering()
logging.basicConfig()
parser = argparse.ArgumentParser(

Powered by Google App Engine
This is Rietveld 408576698