Skip to content

Commit

Permalink
Merge pull request #67 from remicollet/issue-phpbin
Browse files Browse the repository at this point in the history
better sub-process command
  • Loading branch information
bwoebi committed May 3, 2019
2 parents 9d25abb + a4c0fc2 commit b1e39d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/330-poll-pipe.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit b1e39d0

Please sign in to comment.