]> khamidou — GitHub mirrors - arcanist.git/commit
Flush output buffers before running 'arc'
authorepriestley <git@epriestley.com>
Sat, 16 Jul 2011 15:09:47 +0000 (08:09 -0700)
committerepriestley <git@epriestley.com>
Sat, 16 Jul 2011 15:09:47 +0000 (08:09 -0700)
commit2d50e08ee6fbf8f53dbb21377d699782f6f7dcc2
tree3d79abac19ccfbd5f8cc24cde3959b3014d06e7b
parent8150fdf044818c503a588c1b3ef0ddbb93cfa1be
Flush output buffers before running 'arc'

Summary: See D589. Some environments configure output buffering with a prepend script. This is rather silly, but we can at least recover from it.

Test Plan: Started multiple output buffers with ob_start() and then used phutil_console_confirm() to create a prompt. Verified that 'arc' was broken under output buffering prior to the patch, but now works correctly.

Reviewed By: dreuss
scripts/__init_script__.php