Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14758582
D11122.id26741.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
687 B
Referenced Files
None
Subscribers
None
D11122.id26741.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 23, 7:57 AM (8 h, 35 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7036383
Default Alt Text
D11122.id26741.diff (687 B)
Attached To
Mode
D11122: Suppress stdin message if input is piped
Attached
Detach File
Event Timeline
Log In to Comment