Skip to content

Commit a6163fd

Browse files
authored
Run with parallel runner only when proc_open is not disabled
1 parent 7fe4847 commit a6163fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Command/AnalyserRunner.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use function array_filter;
1313
use function array_values;
1414
use function count;
15+
use function function_exists;
1516
use function is_file;
1617

1718
class AnalyserRunner
@@ -59,6 +60,7 @@ public function runAnalyser(
5960
if (
6061
!$debug
6162
&& $allowParallel
63+
&& function_exists('proc_open')
6264
&& $mainScript !== null
6365
&& $schedule->getNumberOfProcesses() > 0
6466
) {

0 commit comments

Comments
 (0)