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:
parent
d5d8086646
commit
abafef7fb6
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue