| @@ 54-57 (lines=4) @@ | ||
| 51 | } |
|
| 52 | ||
| 53 | // Set the pipes as non-blocking |
|
| 54 | if (isset($descriptors[1]) && |
|
| 55 | $descriptors[1]) { |
|
| 56 | stream_set_blocking($pipes[1], FALSE); |
|
| 57 | } |
|
| 58 | if (isset($descriptors[2]) && |
|
| 59 | $descriptors[2]) { |
|
| 60 | stream_set_blocking($pipes[2], FALSE); |
|
| @@ 58-61 (lines=4) @@ | ||
| 55 | $descriptors[1]) { |
|
| 56 | stream_set_blocking($pipes[1], FALSE); |
|
| 57 | } |
|
| 58 | if (isset($descriptors[2]) && |
|
| 59 | $descriptors[2]) { |
|
| 60 | stream_set_blocking($pipes[2], FALSE); |
|
| 61 | } |
|
| 62 | ||
| 63 | $i = 0; |
|
| 64 | ||