--TEST-- Check for uv_spawn --FILE-- "hello"), function($process, $stat, $signal){ uv_close($process,function(){}); }, $flags); uv_read2_start($out, function($out, $nread, $buffer, $stat){ echo $buffer; uv_close($out,function(){}); }); uv_run(); --EXPECT-- HELLO WORLD