1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-25 16:22:42 +01:00

Write waiting message to stderr, not stdout.

This commit is contained in:
epriestley 2014-05-12 17:27:19 -07:00
parent d5d8086646
commit abafef7fb6

View file

@ -63,7 +63,7 @@ EOTEXT
$method = reset($method); $method = reset($method);
$console = PhutilConsole::getConsole(); $console = PhutilConsole::getConsole();
$console->writeOut("%s\n", pht('Waiting for JSON parameters on stdin...')); $console->writeErr("%s\n", pht('Waiting for JSON parameters on stdin...'));
$params = @file_get_contents('php://stdin'); $params = @file_get_contents('php://stdin');
$params = json_decode($params, true); $params = json_decode($params, true);
if (!is_array($params)) { if (!is_array($params)) {