Skip to content

Commit

Permalink
better sub-process command
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Apr 29, 2019
1 parent 9d25abb commit a4c0fc2
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 a4c0fc2

Please sign in to comment.