mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-21 22:32:41 +01:00
No description
5448fe2165
Summary: Ref T13528. If we start a subprocess that immediately exits and then write to it, we can get a broken pipe error. Recent versions of PHP appear to raise this as an actual warning, and recent changes upgrade the warning to a runtime exception. I can't find any way to tell if the RuntimeException is a broken pipe or something else, except by examining the text of the error string. At least for now, treat this like a "blocked pipe" condition. Since the subprocess has exited and the bytes didn't write, this should generally be reasonable. Test Plan: - Viewed a file in Paste with an extension that Pygments does not have a lexer for. - This causes Pygments to exit immediately with an "unrecognized lexer" error. This closes the pipe, and the next write will fail with a broken pipe error. - Before patch: fatal on broken pipe. - After patch: clean resolution of the future and error condition. Maniphest Tasks: T13528 Differential Revision: https://secure.phabricator.com/D21199 |
||
---|---|---|
bin | ||
externals | ||
resources | ||
scripts | ||
src | ||
support | ||
.arcconfig | ||
.arclint | ||
.arcunit | ||
.editorconfig | ||
.gitignore | ||
LICENSE | ||
NOTICE | ||
README.md |
Arcanist is the command-line tool for Phabricator. It allows you to interact with Phabricator installs to send code for review, download patches, transfer files, view status, make API calls, and various other things. You can read more in the User Guide
For more information about Phabricator, see http://phabricator.org/.
LICENSE
Arcanist is released under the Apache 2.0 license except as otherwise noted.