Page MenuHomePhabricator

D11122.id26741.diff
No OneTemporary

D11122.id26741.diff

diff --git a/src/workflow/ArcanistCallConduitWorkflow.php b/src/workflow/ArcanistCallConduitWorkflow.php
--- a/src/workflow/ArcanistCallConduitWorkflow.php
+++ b/src/workflow/ArcanistCallConduitWorkflow.php
@@ -61,7 +61,11 @@
$method = reset($method);
$console = PhutilConsole::getConsole();
- $console->writeErr("%s\n", pht('Waiting for JSON parameters on stdin...'));
+ if (!function_exists('posix_isatty') || posix_isatty(STDIN)) {
+ $console->writeErr(
+ "%s\n",
+ pht('Waiting for JSON parameters on stdin...'));
+ }
$params = @file_get_contents('php://stdin');
$params = json_decode($params, true);
if (!is_array($params)) {

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 6:22 PM (16 h, 5 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6790485
Default Alt Text
D11122.id26741.diff (687 B)

Event Timeline