mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-26 20:14:47 +01:00
Merge pull request #67 from remicollet/issue-phpbin
better sub-process command
This commit is contained in:
commit
b1e39d0bfb
@ -2,7 +2,8 @@
|
||||
Check poll of a pipe works
|
||||
--FILE--
|
||||
<?php
|
||||
$fd = popen(PHP_BINARY . " ". __DIR__ . "/fixtures/proc.php 2>&1", "w");
|
||||
$php = (getenv('TEST_PHP_EXECUTABLE') ? : PHP_BINARY) . ' ' . (getenv('TEST_PHP_ARGS') ? : '-n');
|
||||
$fd = popen($php . " ". __DIR__ . "/fixtures/proc.php 2>&1", "w");
|
||||
stream_set_blocking($fd, 0);
|
||||
|
||||
$loop = uv_loop_new();
|
||||
|
Loading…
Reference in New Issue
Block a user