supervisor事件监听之PHP版
<?php
function write_stdout($str)
{
fwrite(STDOUT, $str);
}
function write_stderr($str)
{
fwrite(STDERR, $str);
}
while (1)
{
# transition from ACKNOWLEDGED to READY
write_stdout("READY\n");
$line = fgets(STDIN);
write_stder.
原创
2021-04-19 15:32:45 ·
274 阅读 ·
0 评论