Changeset View
Changeset View
Standalone View
Standalone View
src/phage/agent/PhagePHPAgent.php
Context not available. | |||||
list($stdout, $stderr) = $future->read(); | list($stdout, $stderr) = $future->read(); | ||||
$future->discardBuffers(); | $future->discardBuffers(); | ||||
if (strlen($stdout)) { | if (@strlen($stdout)) { | ||||
$master->write( | $master->write( | ||||
array( | array( | ||||
'type' => 'TEXT', | 'type' => 'TEXT', | ||||
Context not available. | |||||
)); | )); | ||||
} | } | ||||
if (strlen($stderr)) { | if (@strlen($stderr)) { | ||||
$master->write( | $master->write( | ||||
array( | array( | ||||
'type' => 'TEXT', | 'type' => 'TEXT', | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0