mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
test: fix test case for uv_spawn
This commit is contained in:
parent
0a2b0751c1
commit
4dd2ed56fa
@ -12,7 +12,7 @@ $stdio[] = uv_stdio_new($in, UV::CREATE_PIPE | UV::READABLE_PIPE);
|
||||
$stdio[] = uv_stdio_new($out, UV::CREATE_PIPE | UV::WRITABLE_PIPE);
|
||||
|
||||
$flags = 0;
|
||||
uv_spawn(uv_default_loop(), "php", array('-r','echo "WORLD";'), $stdio, "/usr/bin/",
|
||||
uv_spawn(uv_default_loop(), "php", array('-r','echo "WORLD";'), $stdio, dirname(uv_exepath()),
|
||||
array("key"=>"hello"),
|
||||
function($process, $stat, $signal){
|
||||
uv_close($process,function(){});
|
||||
|
Loading…
Reference in New Issue
Block a user